Achim D. Brucker wrote:
using a recent g++ version for compiling Poly/ML results in several
warnings of the following form:

  xwindows.cpp: warning: deprecated conversion from string constant to 'char*'

The warning is caused by implicit conversion from string constants
(i.e., "foo") to non-constant char pointers.
To this email, I attached a simple patch which should remove these
warnings. The patch should be safe to apply as it either makes the
casts explicit or changes some types from "char *" to "const char
*".

Thanks for that. I've added it to CVS. It looks fine but I'll check it on some more platforms in due course.

David.
_______________________________________________
polyml mailing list
[email protected]
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to