Hi,

On 09/11/2013 07:40 PM, domi...@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.

Reply via email to