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]

Re: cpplib startup patch




Jason Merrill wrote:

> The problem is that without the patch, cpplib unconditionally inserts a
> #line directive at the beginning of the file (# 1 "wa.ii"), so the frontend
> sees that one instead, and thinks wa.ii is the main filename.

I just did some more testing and found that the non-cpplib version of cpp also
does this. Is this really a bug after all?

Dave


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