This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/17162] warning about invalid precompiled header even if the correct one is used
- From: "rodolfo at rodsoft dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2004 01:04:37 -0000
- Subject: [Bug pch/17162] warning about invalid precompiled header even if the correct one is used
- References: <20040824020221.17162.rodolfo@rodsoft.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rodolfo at rodsoft dot org 2004-08-31 01:04 -------
I know it might have found the wrong one, but it should print the warning after
having tried all pch's in the directory. Or better, it should warn if he gave up
trying to use a pch and parsed the header itself. This way seems logical to me,
because if I generated the pch, I want it to use them, and I want to be warned if
it isn't working the way I've espected. In my example I generate 2 pch's with
different configs, and the compiler should pick the right one without
complaining. But if all pch's are invalid, print the warning. I still think is a
bug...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17162