About Bug 52485
SHIH YEN-TE
shihyente@hotmail.com
Wed May 9 12:34:00 GMT 2018
Good to know. Thank you very much.
________________________________
寄件者: Jonathan Wakely <jwakely.gcc@gmail.com>
寄件日期: 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.
More information about the Gcc-help
mailing list