[C++0x PATCH] "long long" support in C++0x mode
Wed Dec 26 18:33:00 GMT 2007
Doug Gregor wrote:
>> Is it a good idea to use cxx_dialect even for C/ObjC?
>> It works for now, because cxx_dialect defaults to cxx98 and for C
>> nothing changes it, but what if cxx_dialect changes to default to cxx0x?
>> Shouldn't that be instead
>> = warn_long_long
>> && ((pedantic && (c_dialect_cxx ()
>> ? cxx_dialect == cxx98
>> : !flag_isoc99)) || warn_traditional);
> That's the safer alternative, sure.
With Jakub's change (in both places), the patch is OK.
(650) 331-3385 x713
More information about the Gcc-patches