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

2010-01-14 Thread JamesMikeDuPont at googlemail dot com
--- 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.

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

2009-05-21 Thread sacolcor at provide dot net
--- Comment #5 from sacolcor at provide dot net 2009-05-21 18:21 --- (In reply to comment #4) How can the PCH contain information that is lost by using an external preprocessor? When I do -save-temps, it's still using the GNU CPP, not an external one, so it's not clear to me why