pyminuit
pyminuit copied to clipboard
minuit.cpp:46: warning: deprecated conversion from string constant to ‘char*’
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