X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=sAQ uoG/vDxf4kFAP6fll1SlWc9PWiq9iHGok823Lcyq7hXKQRh/zb5SP+y8t+k0G/EM cSIEMbMQYSGLbYV/grOfKZL/lzoo2+M4toKAoiIs8AoowMIh8d/w+71h8Pk2gsW5 AKL73v75G2sv9jrg3ouLdynbH6V5akes1AVmxLGs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=b4nE28f8f iiesmYrj8zK8BqeFr4=; b=d+1eCeKOdb3aNGTnn4EaFEWR9QYrJYtK4/ZPdTe9o D8d+3KEJj66cyN7aDsA4iUVxIsM4+SGoLt/XwfgtI+pPyEYAGJwwuKzVbKn+rlo3 kCAADi7oPo0C7LXDqH12fMaY9A+Z+IlIKIds4oWj1nFy6Cnb7nCYfNoo/57MVoFs lY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=H*F:D*ro, hello! X-HELO: mail-wm0-f41.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=i/sGsWSKH0j5OJ5jlMshXFsKj446OyhkEc8F8/GGvTE=; b=i27dA8rwWvbjpjTtu8x316iabhzHzGQG2VA87r9PXLu7KVdZkuHVnd+iHRA9CuHS7V SBOQ+To1VM9qQcWRqJljxHyDf4s2uVtpZWKU6Opp9QPyYjoomUZOBV4rvwdWt6IlMt6e GfsKKMXv5SaEfnTDTQqvNxbzLPlEndx0ix/lnIjeA/+D6qnFXNJxBBPQl3SlI3swVDeB Mi0guhK2DyIH9m3bGAeVAJE2+TGxC/nJ3YYqAXkmhWQBS8PZsUNX0/3VTkCtYS2KEOlI JaVoPkJyAES4hG2ufH/KCjFxehla2CKuXmgZ0rkiKxUqtGJb5xGI4Xb2nTCq4HzXTKDp FFxw== X-Gm-Message-State: ABUngveyAL9pEsunov7+iRDMFvz25wxJYmfO1KXrpmEwcp+yvk0UBlRRl6oLJ+5QBl+C1w/Lu0+LZaHEPq/5IQ== X-Received: by 10.28.94.130 with SMTP id s124mr6109820wmb.34.1477458610514; Tue, 25 Oct 2016 22:10:10 -0700 (PDT) MIME-Version: 1.0 From: Sorin Adrian Savu Date: Wed, 26 Oct 2016 08:10:10 +0300 Message-ID: Subject: Compiling rtorrent-0.9.4-1 with cygport To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u9Q5Eo8Q003680 Hello! I'm trying to compile rtorrent-0.9.4-1 with cygport to add support for XMLRPC. I've added: CYGCONF_ARGS="--with-xmlrpc-c" in the cygport file. When I try to compile, I get the following error: /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/src/display/window_file_list.cc: In function ‘std::wstring display::wstring_width(const string&, int)’: /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/src/display/window_file_list.cc:80:38: error: ‘wcswidth’ was not declared in this scope int swidth = wcswidth(result, width); ^ /usr/src/rtorrent-0.9.4-1.src/rtorrent-0.9.4-1.x86_64/src/rtorrent-0.9.4/src/display/window_file_list.cc:87:18: error: ‘::wcwidth’ has not been declared int next = ::wcwidth(result[length]); ^ After some investigation it seems to be related to _XOPEN_SOURCE flag, but when I add that I get other errors. I've tried compiling with the CYGCONF_ARGS commented out and the behavior is the same. Am I missing something ? How can I find out which compile flags were used at the package build time ? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple