[issue27530] Non-Critical Compiler WARNING: Python Embedding C++11 does not allow non-constant string literals

2019-10-22 Thread STINNER Victor
STINNER Victor added the comment: This issues has been fixed in Python 3: the second parameter of PyObject_CallMethod() is now a "const char*". Please upgrade to Python 3. -- nosy: +vstinner resolution: -> fixed stage: -> resolved status: open -> closed

[issue27530] Non-Critical Compiler WARNING: Python Embedding C++11 does not allow non-constant string literals

2016-07-16 Thread Daniel Lord
New submission from Daniel Lord: ERROR SUMMARY: abstract.h:1332:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] #define PyMapping_Keys(O) PyObject_CallMethod(O,"keys",NULL) ISSUE CRITICALITY: Non-fatal Warning (will become an error eventually when