This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r218087 - in /trunk/gcc: cp/ChangeLog cp/typeck...


Author: jason
Date: Wed Nov 26 15:16:07 2014
New Revision: 218087

URL: https://gcc.gnu.org/viewcvs?rev=218087&root=gcc&view=rev
Log:
	Diagnose string constant conversion to char* in c++11 and above
	as forbidden, not deprecated.
	* typeck.c (string_conv_p): Do a pedwarn in c++11 and above,
	change the diagnostic for the Wwrite-strings case for c++11 and above.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/g++.dg/warn/write-strings-default.C
    trunk/gcc/testsuite/g++.dg/warn/write-strings.C
    trunk/gcc/testsuite/g++.old-deja/g++.bob/inherit1.C
    trunk/gcc/testsuite/g++.old-deja/g++.brendan/template17.C
    trunk/gcc/testsuite/g++.old-deja/g++.law/temps1.C
    trunk/gcc/testsuite/g++.old-deja/g++.martin/typedef2.C


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]