[cfe-commits] [PATCH] Change wording of the warning about 'long long' being an extension
Ronan Keryell
Ronan.Keryell at silkan.com
Mon Sep 24 08:48:03 PDT 2012
>>>>> On Mon, 24 Sep 2012 15:02:11 +0300, Dmitri Gribenko <gribozavr at gmail.com> said:
Dmitri> Hello,
Dmitri> This patch changes the wording of the extension warning from
>> 'long long' is an extension when C99 mode is not enabled
Dmitri> to
>> 'long long' is a C++11 extension
Dmitri> while compiling in C++98 mode.
Why not merging the 2 messages such as "'long long' is an extension when
C99 or C++11 mode is not enabled" ?
Rationale: some people using MSVC may use C++ only because they think
it is the next version after C89 and cannot even imagine C99 and C11 do
exist.
So for them, advertising on both C99 and C++11 is indeed interesting. :-)
--
Ronan KERYELL |\/ Phone: +1 408 658 9453
SILKAN Wild Systems |/)
4962 El Camino Real #201 K Ronan.Keryell at silkan.com
Los Altos, CA 94022 |\ skype:keryell
USA | \ http://silkan.com
More information about the cfe-commits
mailing list