clone 455456 -1
reassign -1 libglib1.2-dev
retitle -1 libglib1.2-dev: causes FTBFSes with GCC 4.3
kthxbye

On Sun, Dec 09, 2007 at 01:40:07PM -0700, Martin Michlmayr wrote:
/usr/include/glib-1.2/glib.h:1308:23: error: ISO C does not permit named 
variadic macros
/usr/include/glib-1.2/glib.h:1311:25: error: ISO C does not permit named 
variadic macros
/usr/include/glib-1.2/glib.h:1314:26: error: ISO C does not permit named 
variadic macros
/usr/include/glib-1.2/glib.h:1317:25: error: ISO C does not permit named 
variadic macros

The code is using named variadic macros, which are a GCC extension. It should be using C99 (unnamed) variadic macros (with __VA_ARGS__) and using -std=c++0x. The other choice is to get rid of -pedantic.

And please, please, *please*, stop using glib-1.2. Even if it is to support XMMS. The underlying bug is in glib-1.2, so I've cloned the bug there.

glib1.2 maintainers: your package should not cause FTBFSes with -ansi -pedantic. If it needs C99 features for some reason (which it looks like it will, now that GCC 4.3 is here), please document that.

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to