Hi,
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
*". 

Please note that I could only test these modifications on my i386 box
running Linux....

Achim

Attachment: string_conversion.patch.gz
Description: Binary data

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

Reply via email to