char* arguments in C API

Julian Rockey linux at
Wed Mar 26 18:37:14 CET 2003

Martin v. Löwis wrote:

>> Even in C++, a special case for silent conversions of string literals to
>> char * is provided.  The code should compile fine on both C and C++
>> compilers.
> While this conversion is well-formed, it is also deprecated. Atleast the
> SunPro compiler warns if the conversion is used (and "all" warnings are
> activated).
So does gcc3.2

> Regards,
> Martin

More information about the Python-list mailing list