------- Comment #2 from gafunchal at gmail dot com 2009-05-27 14:25 ------- (In reply to comment #1) > You have to include a precompiled header from the toplevel source file as the > very first thing or preferably via the -include command-line parameter. >
I do not agree with that. The documentation section 3.20 says: * A precompiled header can't be used once the first C token is seen. You can have preprocessor directives before a precompiled header; you can even include a precompiled header from inside another header, so long as there are no C tokens before the `#include'. Please at least read what I'm saying before closing the bug as "invalid", the error shows only when using -g3 so it's clearly NOT a matter of "order-of-things". -- gafunchal at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40272