About Bug 52485

Jonathan Wakely jwakely.gcc@gmail.com
Wed May 9 12:21:00 GMT 2018


On 9 May 2018 at 13:16, SHIH YEN-TE wrote:
> Thanks, now I understood your point. For some reasons, I need to keep using
> v4.7.2.

GCC 4.7 has incomplete C++11 support, so you're going to have problems
using C++11 anyway. Later releases only issue a warning for invalid
suffixes on string literals:

udl.cc:5:19: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
   const char* s = ""X;
                   ^

Asking for a new option to disable user-defined literals isn't going
to help you anyway, because no new option is going to be added to GCC
4.7.2

And the option isn't needed with current releases.



More information about the Gcc-help mailing list