On Monday, November 4, 2002, at 02:22 PM, Max Horn wrote:
compile bug? After experimenting with this for an hour at least, and reading problem reports from people all over google, it is quite clear this is a gcc bug. Any header found included via an isystem or idirafter path is apparently wrapped in extern "C" (at the compile level.. it looks fine in the preprocessed source), which breaks any C++ template usage. That includes regular system headers (like <iosfwd>) included by headers in /sw/include, for example. I can't find a way to work around it.At 23:56 Uhr +0900 04.11.2002, Peter O'Gorman wrote:Well, I think we should still stick to the new scheme. It will prevent far more problems than it will cause in my estimation, and working around a real compile bug (which still is possible!) is IMHO superior to having to work around the normal, correct, yet not desired behaviour caused by our old usage of CPPFLAGS etc.On Monday, November 4, 2002, at 01:11 PM, Ben Hines wrote:My apologies for posting this and promptly going to bed. Thanks Jean-Francois, Max and Ben for looking into it.Bingo. definitely a gcc bug, already filed:http://gcc.gnu.org/cgi-bin/gnatsweb.pl and search for 7327.
It kind of leads to the question of what to do about fink's default CPPFLAGS again.
A simple reproducible case is now appended to the FSF bug, from me.. I can't find how to link directly to their bugs, but http://gcc.gnu.org/cgi-bin/gnatsweb.pl and search for 7327, scroll to bottom for my steps.
Anyway, the workaround (disabling isystem) will quite likely be needed for any C++ package. I am not saying i object to it.. isystem may actually be preferable.. but currently it does seem to break more than it helps.
-Ben
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
