[Bug pch/17162] warning about invalid precompiled header even if the correct one is used

rodolfo at rodsoft dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 31 01:04:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list