RE: About Bug 52485

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good to know. Thank you very much.


________________________________
寄件者: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
寄件日期: 2018年5月9日 下午 08:21
收件者: SHIH YEN-TE
副本: gcc-help
主旨: Re: About Bug 52485

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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux