This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/40272] error using precompiled headers with extra debug info (-g3)
- From: "gafunchal at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2009 14:25:49 -0000
- Subject: [Bug pch/40272] error using precompiled headers with extra debug info (-g3)
- References: <bug-40272-17768@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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