[Bug pch/13218] Potential problems with PCH and includes relative to current directory
carlo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 18:03:00 GMT 2003
------- Additional Comments From carlo at gcc dot gnu dot org 2003-11-28 18:03 -------
Well, an alternative would be to re-run the preprocessor
on the source of the pch file and compare the resulting
outcome. This takes some time, but you only have to
do it for every different 'current directory' that gcc
is in at the moment it includes the pch file.
The pch file should then included:
- The current directory.
- A checksum on the preprocessor output till then.
Extra cpu needed: rerun the preprocessor for every
additional current directory from which the pch
seems to be needed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13218
More information about the Gcc-bugs
mailing list