GCC accepts wide strings in #line directives
Alexandre Oliva
oliva@lsd.ic.unicamp.br
Wed Feb 16 00:09:00 GMT 2000
On Feb 16, 2000, Zack Weinberg <zack@wolery.cumb.org> wrote:
> On Wed, Feb 16, 2000 at 04:26:35AM -0200, Alexandre Oliva wrote:
>> #line directives require non-wide strings. However, GCC accepts:
>>
>> #line 123 L"wide-string"
>>
>> and says the file name is `\"wide-string'. Here's a patch that fixes
>> this error. Ok to install?
> Also, please verify that #include does not have the same problem.
Well spotted! Here's a replacement patch, that covers almost all the
occurrences of CPP_STRING in cpplib.c. There's still one that applies
only to VMS, that I'd rather not touch at this time of the night
(morning? :-)
Ok to install this one instead?
More information about the Gcc-patches
mailing list