diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2014-11-26 17:16:07 +0200 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2014-11-26 10:16:07 -0500 |
commit | aaf176ca1896931ac8777c0fd527b0198032b38e (patch) | |
tree | 1d0719c39e7bc778963f5959e441ce9f55e4c8b9 /gcc/tree-data-ref.c | |
parent | 8006f46bdd8be581f287ed7d1c2d204c608fb426 (diff) | |
download | gcc-aaf176ca1896931ac8777c0fd527b0198032b38e.zip gcc-aaf176ca1896931ac8777c0fd527b0198032b38e.tar.gz gcc-aaf176ca1896931ac8777c0fd527b0198032b38e.tar.bz2 |
Diagnose string constant conversion to char* in c++11 and above as forbidden, not deprecated.
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.
From-SVN: r218087
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions