[cfe-commits] Patch to make clang compile and work on Windows using MSVC8
Chris Lattner
clattner at apple.com
Tue Sep 4 18:16:57 PDT 2007
On Sep 4, 2007, at 5:28 AM, Hartmut Kaiser wrote:
> Chris,
>
>>>> It looks like it might just be trailing whitespace removed.
>>>> Is this intentional or just something extraneous in the patch?
>>>
>>> This was intentionally. AFAIK a backslash/newline should be
>> recognized
>>> as a line continuation only if there is no whitespace in between
>>> those.
>>
>> This is a well known (and long-debated) GCC extension that
>> we're intentionally compatible with.
>
> Understand. Can you (optionally) switch that off, just to be 100%
> Standards
> comformant?
I believe we already emit "backslash and newline separated by space"
as a warning. I would be fine with changing it to an extension
warning (visible with -pedantic). Is this what you mean?
-Chris
More information about the cfe-commits
mailing list