This is the mail archive of the gcc-patches@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]

Re: [PATCH] PR tree-optimization/58380


Hi,

On 09/11/2013 07:40 PM, dominiq@lps.ens.fr wrote:
The failures are (at least on x86_64-apple-darwin10):

/opt/gcc/work/gcc/testsuite/g++.dg/torture/pr58380.C: In static member function 'static iplugin_factory& selection_to_stdout::get_factory()':
/opt/gcc/work/gcc/testsuite/g++.dg/torture/pr58380.C:167:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/opt/gcc/work/gcc/testsuite/g++.dg/torture/pr58380.C:167:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Yeah, everywhere.

By the way, the warning is definitely correct, thus either tweak that basic_string constructor to take a const char* (assuming the testcase is still fine as reproducer), or add a -w, or some other simple tweak will do.

Paolo.


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