[cfe-dev] SemaCXX/SemaObjCXX test failures...

Chris Lattner clattner at apple.com
Wed Oct 15 17:02:21 PDT 2008


On Oct 15, 2008, at 4:49 PM, Mike Stump wrote:

> On Oct 15, 2008, at 3:43 PM, steve naroff wrote:
>> This "problem" only shows up when clang parses the preprocessed file.
>
> Just in case someone wants to fix this, gcc solves this problem by
> adding numbers to the ends of # lines to keep track of which files are
> system-headers or not.  These conspire together to make the .i files
> work in this case.

Yes, we produce these numbers, we just ignore them when parsing the  
#line directive back in.

-Chris



More information about the cfe-dev mailing list