From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17771 invoked by alias); 23 May 2011 17:22:37 -0000 Received: (qmail 17762 invoked by uid 22791); 23 May 2011 17:22:36 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 May 2011 17:22:21 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4NHML9T003465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 May 2011 13:22:21 -0400 Received: from [10.3.113.142] (ovpn-113-142.phx2.redhat.com [10.3.113.142]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4NHMLjg018040 for ; Mon, 23 May 2011 13:22:21 -0400 Message-ID: <4DDA97CC.1090404@redhat.com> Date: Mon, 23 May 2011 17:22:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Error building run2 from source package in win7 References: <20110523171750.GB16755@jethro.local.lan> In-Reply-To: <20110523171750.GB16755@jethro.local.lan> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig57C0C207AB482549132EDC37" X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00333.txt.bz2 --------------enig57C0C207AB482549132EDC37 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 947 On 05/23/2011 11:17 AM, David Sastre wrote: > Hello, >=20 > This error shows up when trying to build run2-0.4.0-1-src on >=20 > CYGWIN_NT-6.1 win7 1.7.10s(0.244/5/3) 20110510 19:08:34 i686 Cygwin >=20 > cc1: warnings being treated as errors > /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c: In func= tion 'run2_strtol': > /usr/src/run2-0.4.0-1-src/run2-0.4.0-1/src/run2-0.4.0/lib/util.c:423:3: e= rror: passing argument 3 of '__assert_func' discards qualifiers from pointe= r target type > /usr/include/assert.h:41:6: note: expected 'char *' but argument is of ty= pe 'const char *' The signature in assert.h uses 'const char *'; I would have to suspect that somewhere in your build process you have a stray: #define const getting in the way, and that this is thus a bug in the run2 sources and not in cygwin headers. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig57C0C207AB482549132EDC37 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 619 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN2pfMAAoJEKeha0olJ0Nq3tsH/2BW4oxUfjqOnXirGPsWnS7H 1vtHV4KOpSFDm97+mx8iPZ+zeshGWypPc7LdP8L4NbsIa9PHo0426HOz695yBXcu wLj88i4jhPox6o/FCixuTh3NDzvMPW9BBIESzkcN5Yiu3hN7X3s/xQzGcLK1P/+a rOk+3J2ADkaMJGZn2ZnXuNmfQFwWf/2tuK6dvKi+aErMn+Hio7DbOH1LpjwSiX+d 0SOqwjuAx86/RSs1JhaGQpOYLO/COZB1HlH+8uLrjOgINSahsulZiOq7bnJgEgZN 6bKJgJkNEdcJBrhAP+ztKK+OrQF0HIADGA9UinnyrBcFET7cmqf20/TgA1/S/qI= =md5W -----END PGP SIGNATURE----- --------------enig57C0C207AB482549132EDC37--