[Bug pch/40215] Generated GCH fails to honor include guards with -no-integrated-cpp

sacolcor at provide dot net gcc-bugzilla@gcc.gnu.org
Thu May 21 13:57:00 GMT 2009



------- Comment #3 from sacolcor at provide dot net  2009-05-21 13:56 -------
Reopening, because if this is by design, the doc page at
<http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html> should elaborate;
it does not currently mention anything about incompatibility or other
difficulties with -no-integrated-cpp or -save-temps.  

The supplied code compiles fine if the -no-integrated-cpp flag is removed, and
it seems reasonable for a user to expect that those flags would not cause an
otherwise working build to break.  Are precompiled headers simply incompatible
with those flags?  If not, then what's needed to make them work?


-- 

sacolcor at provide dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40215



More information about the Gcc-bugs mailing list