This is the mail archive of the gcc-patches@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]

#import and pch not working well


#import and pch files don't work well together. The problem is that we don't write out all files to the precompiled header, this causes the #import logic to not have enough information to avoid not re-including the headerfile for a second time. Including the file a second time is wrong, and leads to errors. The information left out is the stack_count. This I suspect also fixes a bug with #importing subframework includes.

Ok?

Attachment: pch-import-fsf.diffs.txt
Description: Text document



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