Build failure with curl-7.18.1 and GCC 4.3

Ryan Hill dirtyepic at gentoo.org
Sun Apr 6 07:59:24 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello.  I'm getting a compilation error building gnupg-2.0.9 using GCC 
4.3 and curl-7.18.1.  The error appears to be the result of this change 
from the curl release announcement:

- added type checking macros for curl_easy_setopt() and 
curl_easy_getinfo(), watch out for new warnings in code using libcurl 
(needs gcc-4.3 and currently only works in C mode)

http://curl.haxx.se/mail/lib-2008-02/0267.html
http://curl.haxx.se/mail/lib-2008-02/0292.html

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I../gl -I../common 
-I../intl -DLOCALEDIR=\"/usr/share/locale\" 
-DGNUPG_BINDIR="\"/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/libexec\"" 
-DGNUPG_LIBDIR="\"/usr/lib/gnupg\"" 
-DGNUPG_DATADIR="\"/usr/share/gnupg\"" 
-DGNUPG_SYSCONFDIR="\"/etc/gnupg\""         -O2 -g -march=prescott 
-fomit-frame-pointer -pipe -fdirectives-only -Wall -Wno-pointer-sign 
-Wpointer-arith -MT gpg2keys_curl-gpgkeys_curl.o -MD -MP -MF 
.deps/gpg2keys_curl-gpgkeys_curl.Tpo -c -o gpg2keys_curl-gpgkeys_curl.o 
`test -f 'gpgkeys_curl.c' || echo './'`gpgkeys_curl.c
gpgkeys_curl.c: In function 'main':
gpgkeys_curl.c:303: error: 'typeof' applied to a bit-field


-- 
fonts, gcc-porting,                               by design, by neglect
mips, treecleaner,                        for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEAREIAAYFAkf4Y44ACgkQiqiDRvmkBmIhcQCeP24txWEQ9N764cq7WcY4cZN3
VxQAn0c4sD4yyFXIvmltiLKsiDGPLSRK
=RXvp
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20080405/cecdfbd4/attachment-0001.pgp>


More information about the Gnupg-devel mailing list