This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/40215] GCH generated with -save-temps does not store preprocessor state.
- From: "JamesMikeDuPont at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2010 13:55:00 -0000
- Subject: [Bug pch/40215] GCH generated with -save-temps does not store preprocessor state.
- References: <bug-40215-8409@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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