We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
It's possible that AAA.pch does actually depend on the current directory or current source file directory. Does aaa.h contain any #includes?Can you show the full command lines for the different compile steps? Are there any differences besides the pch options and filenames?
[...]But File2.c can't use AAA.pch and does a regular compile (long compile). It gives warning:"no source": Warning: #629-D: the command line options do not match those used when precompiled header file "AAA.pch" was createdQuestions:- Is this a limitation for the precompiled header option? Files must be in the same directory.- Are there any other options on how to solve this?