diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-04-04 15:34:49 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-04-04 15:34:49 +0000 |
commit | 64e70811b58ade22a4a2c4be24b41dec23303942 (patch) | |
tree | cdf6d97cdd54849ab25e3d708022021ead68357a /numpy/core/src/scalarmathmodule.c.src | |
parent | af2b0578c642cb269478dc3b048e59d0d79e0820 (diff) | |
download | numpy-64e70811b58ade22a4a2c4be24b41dec23303942.tar.gz |
ENH: get rid of #warning directives, either by fixing the issue or changing them to comments
Diffstat (limited to 'numpy/core/src/scalarmathmodule.c.src')
-rw-r--r-- | numpy/core/src/scalarmathmodule.c.src | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/core/src/scalarmathmodule.c.src b/numpy/core/src/scalarmathmodule.c.src index cfd3c0bc9..5ab720bb0 100644 --- a/numpy/core/src/scalarmathmodule.c.src +++ b/numpy/core/src/scalarmathmodule.c.src @@ -1306,8 +1306,6 @@ alter_pyscalars(PyObject *NPY_UNUSED(dummy), PyObject *args) PyInt_Type.tp_richcompare = PyLongArrType_Type.tp_richcompare; } else -#else -#warning XXX -- is it important to do something with the integers here? #endif if (obj == (PyObject *)(&PyFloat_Type)) { PyFloat_Type.tp_as_number = PyDoubleArrType_Type.tp_as_number; @@ -1350,8 +1348,6 @@ restore_pyscalars(PyObject *NPY_UNUSED(dummy), PyObject *args) PyInt_Type.tp_richcompare = saved_tables[2]; } else -#else -#warning XXX -- is it important to do something with the integers here? #endif if (obj == (PyObject *)(&PyFloat_Type)) { PyFloat_Type.tp_as_number = saved_tables[3]; @@ -1393,8 +1389,6 @@ use_pythonmath(PyObject *NPY_UNUSED(dummy), PyObject *args) PyLongArrType_Type.tp_richcompare = saved_tables[2]; } else -#else -#warning XXX -- is it important to do something with the integers here? #endif if (obj == (PyObject *)(&PyFloat_Type)) { PyDoubleArrType_Type.tp_as_number = saved_tables[3]; @@ -1436,8 +1430,6 @@ use_scalarmath(PyObject *NPY_UNUSED(dummy), PyObject *args) PyLongArrType_Type.tp_richcompare = saved_tables_arrtype[2]; } else -#else -#warning XXX -- is it important to do something with the integers here? #endif if (obj == (PyObject *)(&PyFloat_Type)) { PyDoubleArrType_Type.tp_as_number = saved_tables_arrtype[3]; @@ -1520,8 +1512,6 @@ initscalarmath(void) saved_tables[0] = PyInt_Type.tp_as_number; saved_tables[1] = PyInt_Type.tp_compare; saved_tables[2] = PyInt_Type.tp_richcompare; -#else -#warning XXX -- is it important to do something with the integers here? #endif saved_tables[3] = PyFloat_Type.tp_as_number; #if !defined(NPY_PY3K) |