I ran into an error like this one: /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.0-beta20050402/include/g++-v4/bits/stl_algo.h:2236: error: 'std::<anonymous enum>' is/uses anonymous type and got fixed it by touching upstream headers of gcc4's STL: battousai bits $ diff -u stl_algo.h{.orig,} --- stl_algo.h.orig 2005-04-10 08:40:02.000000000 +0200 +++ stl_algo.h 2005-04-10 08:40:17.000000000 +0200 @@ -2071,7 +2071,7 @@ * This controls some aspect of the sort routines. * @endif */ - enum { _S_threshold = 16 }; + static const int _S_threshold = 16; /** * @if maint is this considered a bug in upstream? if so. shall I report it on bugzilla or is some dev round being so kind in fixing it on-the-fly? Regards, Christian Parpart. -- Netiquette: http://www.ietf.org/rfc/rfc1855.txt 08:40:48 up 17 days, 21:47, 0 users, load average: 0.05, 0.09, 0.08
Attachment:
pgpy6f8SrZqd6.pgp
Description: PGP signature