pyminuit icon indicating copy to clipboard operation
pyminuit copied to clipboard

minuit.cpp:46: warning: deprecated conversion from string constant to ‘char*’

Open GoogleCodeExporter opened this issue 10 years ago • 5 comments
trafficstars

What steps will reproduce the problem?
1. Build as described!


What is the expected output? What do you see instead?

Expect a clean build, but there are warnings about the char* conversion:
minuit.cpp:46: warning: deprecated conversion from string constant to 
‘char*’
I guess that's because literal strings are _const_ char* in C++.


What version of the product are you using? On what operating system?

This is on Ubuntu Linux with GCC/g++ 4.2.3.


Additional info:

I also tried with g++ 4.3.0, which isn't available in the main Ubuntu
release yet, and there didn't seem to be any extra warnings.

Original issue reported on code.google.com by [email protected] on 12 Jun 2008 at 3:50

GoogleCodeExporter avatar Mar 15 '15 22:03 GoogleCodeExporter