This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/13218] Potential problems with PCH and includes relative to current directory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]