Add "-fno-strict-aliasing" to compilation
flags
Fixes a slew of:
"dereferencing type-punned pointer will break strict-aliasing rules"
warnings from GCC for lines of the form:
Py_INCREF(Py_True);
and
Py_INCREF(Py_False);
due to the cast from PyIntObject* to PyObject*
GCC is technically correct here; see:
http://www.python.org/dev/peps/pep-3123/
though this is unlikely to lead to non-working machine code.
-- Commit Summary --
* app_python: fix compiler warning
-- File Changes --
M src/modules/app_python/Makefile (2)
-- Patch Links --
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: