[Bug pch/40272] error using precompiled headers with extra debug info (-g3)
gafunchal at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed May 27 14:26:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list