Deprecated NumPy API warnings
Created by: siebenkopf
During the C++ compilation of Bob under various systems (MacOS, Linux Arch) we get warnings that we use deprecated NumPy API.
The solution that is proposed in the error message is to #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
I tried this, and the warnings go away. Unfortunately, the code does not compile any more, we get errors like:
src/python/ndarray.cc:254:48: error: no member named 'descr' in 'tagPyArrayObject'
Hence, it seems that we use some functions of the old NumPy API. This means that we might get some trouble later on, if we do not follow the NumPy 1.7 API. In any case, this would be nice to be fixed to remove the annoying warnings.