[Bug pch/40215] GCH generated with -save-temps does not store preprocessor state.

JamesMikeDuPont at googlemail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 14 13:55:00 GMT 2010



------- Comment #6 from JamesMikeDuPont at googlemail dot com  2010-01-14 13:55 -------
I am having this problem as well. 
Using the lastest version of g++.
Test like this :

If you include <cassert> in a pch, 
and then in the other file that uses the pch, the macro assert is no longer
there.


-- 


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



More information about the Gcc-bugs mailing list