I am trying to build numpy 1.22.3 in container using a rhel8 host and the container being rhel7. My version of gcc is 4.8.5-44. Here is the error I get building library "npymath" sourcesWARN: Could not locate executable armflang _configtest.cxx: In function ‘int main()’: _configtest.cxx:1:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ _configtest.cxx:1:22: error: ‘x’ does not name a type int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ _configtest.cxx:1:55: error: ‘x’ was not declared in this scope int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ Traceback (most recent call last): File "setup.py", line 461, in <module> setup_package() File "setup.py", line 453, in setup_package setup(**metadata) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "numpy/core/setup.py", line 708, in get_mathlib_info raise RuntimeError( RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required. V/R Jesse S. Peet Configuration Manager Specialist/Engineer Email: jesse.peet@raytheon.com Cell: 719-322-4257
On 14/6/22 18:14, Jesse Peet wrote:
I am trying to build numpy 1.22.3 in container using a rhel8 host and the container being rhel7. My version of gcc is 4.8.5-44. Here is the error I get
RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required.
Jesse S. Peet Configuration Manager Specialist/Engineer Email: jesse.peet@raytheon.com Cell: 719-322-4257
We require support for c++11. Please use a newer compiler or an older version of NumPy. Matti
On Wed, 2022-06-15 at 15:11 +0300, Matti Picus wrote:
On 14/6/22 18:14, Jesse Peet wrote:
I am trying to build numpy 1.22.3 in container using a rhel8 host and the container being rhel7. My version of gcc is 4.8.5-44. Here is the error I get
RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required.
Jesse S. Peet Configuration Manager Specialist/Engineer Email: jesse.peet@raytheon.com Cell: 719-322-4257
We require support for c++11. Please use a newer compiler or an older version of NumPy.
Not sure whether 4.8 is not new enough in principle. If that is the case, using `CFLAGS=-std=c++11` might be enough here? There was: https://github.com/numpy/numpy/pull/21306 which sounds like it may have just fixed this. In that case even updating to NumPy 1.22.4 should just be good enough. (Which doesn't mean that a newer compiler may not make sense) - Sebastian
Matti
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: sebastian@sipsolutions.net
When I run it I add the CPPFLAGS=std=-C++11 Here is the output I get when I added the above flag COMMAND: CPPFLAGS=-std=c++11 /awips2/python/bin/python setup.py build --cpu-baseline="native" --cpu-dispatch="none" OUTPUT: cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default] In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinl’: numpy/core/src/npymath/npy_math_internal.h.src:518:5: warning: implicit declaration of function ‘NPY_CAT’ [-Wimplicit-function-declaration] return NPY__FP_SFX(@kind@)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src:491:39: note: each undeclared identifier is reported only once for each function it appears in #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceill’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:541:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(modf)(x, iptr); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:548:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(ldexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:555:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(frexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:578:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(cbrt)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceilf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modff’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:541:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(modf)(x, iptr); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:548:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(ldexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:555:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(frexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:578:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(cbrt)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:619:19: note: in expansion of macro ‘NPY__FP_SFX’ #define RAD2DEG (NPY__FP_SFX(180.0)/NPY__FP_SFX(NPY_PI)) ^ numpy/core/src/npymath/npy_math_internal.h.src:624:14: note: in expansion of macro ‘RAD2DEG’ return x*RAD2DEG; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:620:19: note: in expansion of macro ‘NPY__FP_SFX’ #define DEG2RAD (NPY__FP_SFX(NPY_PI)/NPY__FP_SFX(180.0)) ^ numpy/core/src/npymath/npy_math_internal.h.src:629:14: note: in expansion of macro ‘DEG2RAD’ return x*DEG2RAD; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:618:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOG2E NPY__FP_SFX(NPY_LOG2E) ^ numpy/core/src/npymath/npy_math_internal.h.src:634:12: note: in expansion of macro ‘LOG2E’ return LOG2E*npy_log1p@c@(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1f’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:639:23: note: in expansion of macro ‘LOGE2’ return npy_expm1@c@(LOGE2*x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:646:20: note: in expansion of macro ‘LOGE2’ return x + LOGE2; ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:619:19: note: in expansion of macro ‘NPY__FP_SFX’ #define RAD2DEG (NPY__FP_SFX(180.0)/NPY__FP_SFX(NPY_PI)) ^ numpy/core/src/npymath/npy_math_internal.h.src:624:14: note: in expansion of macro ‘RAD2DEG’ return x*RAD2DEG; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:620:19: note: in expansion of macro ‘NPY__FP_SFX’ #define DEG2RAD (NPY__FP_SFX(NPY_PI)/NPY__FP_SFX(180.0)) ^ numpy/core/src/npymath/npy_math_internal.h.src:629:14: note: in expansion of macro ‘DEG2RAD’ return x*DEG2RAD; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:618:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOG2E NPY__FP_SFX(NPY_LOG2E) ^ numpy/core/src/npymath/npy_math_internal.h.src:634:12: note: in expansion of macro ‘LOG2E’ return LOG2E*npy_log1p@c@(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1l’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:639:23: note: in expansion of macro ‘LOGE2’ return npy_expm1@c@(LOGE2*x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:646:20: note: in expansion of macro ‘LOGE2’ return x + LOGE2; ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceill’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2l’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’: numpy/core/src/npymath/npy_math_internal.h.src:542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpl’: numpy/core/src/npymath/npy_math_internal.h.src:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpl’: numpy/core/src/npymath/npy_math_internal.h.src:556:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtl’: numpy/core/src/npymath/npy_math_internal.h.src:579:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceilf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2f’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modff’: numpy/core/src/npymath/npy_math_internal.h.src:542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpf’: numpy/core/src/npymath/npy_math_internal.h.src:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpf’: numpy/core/src/npymath/npy_math_internal.h.src:556:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtf’: numpy/core/src/npymath/npy_math_internal.h.src:579:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degf’: numpy/core/src/npymath/npy_math_internal.h.src:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radf’: numpy/core/src/npymath/npy_math_internal.h.src:630:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pf’: numpy/core/src/npymath/npy_math_internal.h.src:635:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1f’: numpy/core/src/npymath/npy_math_internal.h.src:640:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpf’: numpy/core/src/npymath/npy_math_internal.h.src:661:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degl’: numpy/core/src/npymath/npy_math_internal.h.src:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radl’: numpy/core/src/npymath/npy_math_internal.h.src:630:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pl’: numpy/core/src/npymath/npy_math_internal.h.src:635:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1l’: numpy/core/src/npymath/npy_math_internal.h.src:640:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpl’: numpy/core/src/npymath/npy_math_internal.h.src:661:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ INFO: ar: adding 4 object files to build/temp.linux-x86_64-3.8/libnpymath.a ar: build/temp.linux-x86_64-3.8/numpy/core/src/npymath/npy_math.o: No such file or directory error: Command "ar rcs build/temp.linux-x86_64-3.8/libnpymath.a build/temp.linux-x86_64-3.8/numpy/core/src/npymath/npy_math.o build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/numpy/core/src/npymath/ieee754.o build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/numpy/core/src/npymath/npy_math_complex.o build/temp.linux-x86_64-3.8/numpy/core/src/npymath/halffloat.o" failed with exit status 1 INFO: ########### CLIB COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: x64 Compiler : gcc CPU baseline : Requested : 'native' Enabled : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 Flags : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mfma -mavx2 Extra checks: none CPU dispatch : Requested : 'none' Enabled : none Generated : none INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /var/tmp/awips2-python-numpy-1.22.3-3.8.2.el7-root-jpeet/numpy-1.22.3/build/temp.linux-x86_64-3.8/ccompiler_opt_cache_clib.py
On Thu, 2022-06-16 at 10:42 +0000, jesse.peet@raytheon.com wrote:
When I run it I add the CPPFLAGS=std=-C++11 Here is the output I get when I added the above flag COMMAND: CPPFLAGS=-std=c++11 /awips2/python/bin/python setup.py build --cpu-baseline="native" --cpu-dispatch="none"
Sorry, I would have to dig more to understand the C++ subtleties with older compilers (maybe Serge reads this and just knows what is going on). We also add the flag `-D__STDC_VERSION__=0`, could that be related? `NPY_CAT` is a simple macro defined in `numpy/utils.h`. If possible, could you try using NumPy 1.22.4 maybe (or applying the diff from the PR: https://github.com/numpy/numpy/pull/21306 ? Since that should be known to work with GCC 4.9.2 at least, and GCC 4.8.x is supposed to have C++11 support. (I am not sure anyone tested those versions with NumPy on 4.8, though.) Cheers, Sebastian
OUTPUT:
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default] In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinl’: numpy/core/src/npymath/npy_math_internal.h.src:518:5: warning: implicit declaration of function ‘NPY_CAT’ [-Wimplicit-function- declaration] return NPY__FP_SFX(@kind@)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src:491:39: note: each undeclared identifier is reported only once for each function it appears in #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceill’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2l’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:541:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(modf)(x, iptr); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:548:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(ldexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:555:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(frexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtl’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:578:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(cbrt)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceilf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:518:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2f’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:533:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(@kind@)(x, y); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modff’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:541:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(modf)(x, iptr); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:548:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(ldexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:555:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(frexp)(x, exp); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtf’: numpy/core/src/npymath/npy_math_internal.h.src:491:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:578:12: note: in expansion of macro ‘NPY__FP_SFX’ return NPY__FP_SFX(cbrt)(x); ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:619:19: note: in expansion of macro ‘NPY__FP_SFX’ #define RAD2DEG (NPY__FP_SFX(180.0)/NPY__FP_SFX(NPY_PI)) ^ numpy/core/src/npymath/npy_math_internal.h.src:624:14: note: in expansion of macro ‘RAD2DEG’ return x*RAD2DEG; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:620:19: note: in expansion of macro ‘NPY__FP_SFX’ #define DEG2RAD (NPY__FP_SFX(NPY_PI)/NPY__FP_SFX(180.0)) ^ numpy/core/src/npymath/npy_math_internal.h.src:629:14: note: in expansion of macro ‘DEG2RAD’ return x*DEG2RAD; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:618:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOG2E NPY__FP_SFX(NPY_LOG2E) ^ numpy/core/src/npymath/npy_math_internal.h.src:634:12: note: in expansion of macro ‘LOG2E’ return LOG2E*npy_log1p@c@(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1f’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:639:23: note: in expansion of macro ‘LOGE2’ return npy_expm1@c@(LOGE2*x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpf’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘f’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:646:20: note: in expansion of macro ‘LOGE2’ return x + LOGE2; ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:619:19: note: in expansion of macro ‘NPY__FP_SFX’ #define RAD2DEG (NPY__FP_SFX(180.0)/NPY__FP_SFX(NPY_PI)) ^ numpy/core/src/npymath/npy_math_internal.h.src:624:14: note: in expansion of macro ‘RAD2DEG’ return x*RAD2DEG; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:620:19: note: in expansion of macro ‘NPY__FP_SFX’ #define DEG2RAD (NPY__FP_SFX(NPY_PI)/NPY__FP_SFX(180.0)) ^ numpy/core/src/npymath/npy_math_internal.h.src:629:14: note: in expansion of macro ‘DEG2RAD’ return x*DEG2RAD; ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:618:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOG2E NPY__FP_SFX(NPY_LOG2E) ^ numpy/core/src/npymath/npy_math_internal.h.src:634:12: note: in expansion of macro ‘LOG2E’ return LOG2E*npy_log1p@c@(x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1l’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:639:23: note: in expansion of macro ‘LOGE2’ return npy_expm1@c@(LOGE2*x); ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpl’: numpy/core/src/npymath/npy_math_internal.h.src:599:39: error: ‘l’ undeclared (first use in this function) #define NPY__FP_SFX(X) NPY_CAT(X, @c@) ^ numpy/core/src/npymath/npy_math_internal.h.src:617:18: note: in expansion of macro ‘NPY__FP_SFX’ #define LOGE2 NPY__FP_SFX(NPY_LOGE2) ^ numpy/core/src/npymath/npy_math_internal.h.src:646:20: note: in expansion of macro ‘LOGE2’ return x + LOGE2; ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceill’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pl’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2l’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2l’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignl’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modfl’: numpy/core/src/npymath/npy_math_internal.h.src:542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpl’: numpy/core/src/npymath/npy_math_internal.h.src:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpl’: numpy/core/src/npymath/npy_math_internal.h.src:556:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtl’: numpy/core/src/npymath/npy_math_internal.h.src:579:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cosf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sinhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_coshf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_tanhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fabsf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_floorf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ceilf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rintf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_truncf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_sqrtf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log10f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_expm1f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acosf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_asinhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_acoshf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atanhf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log1pf’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2f’: numpy/core/src/npymath/npy_math_internal.h.src:519:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_atan2f’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_hypotf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_powf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_fmodf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_copysignf’: numpy/core/src/npymath/npy_math_internal.h.src:534:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_modff’: numpy/core/src/npymath/npy_math_internal.h.src:542:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_ldexpf’: numpy/core/src/npymath/npy_math_internal.h.src:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_frexpf’: numpy/core/src/npymath/npy_math_internal.h.src:556:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_cbrtf’: numpy/core/src/npymath/npy_math_internal.h.src:579:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degf’: numpy/core/src/npymath/npy_math_internal.h.src:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radf’: numpy/core/src/npymath/npy_math_internal.h.src:630:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pf’: numpy/core/src/npymath/npy_math_internal.h.src:635:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1f’: numpy/core/src/npymath/npy_math_internal.h.src:640:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpf’: numpy/core/src/npymath/npy_math_internal.h.src:661:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from numpy/core/src/npymath/npy_math.c:9:0: numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_rad2degl’: numpy/core/src/npymath/npy_math_internal.h.src:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_deg2radl’: numpy/core/src/npymath/npy_math_internal.h.src:630:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_log2_1pl’: numpy/core/src/npymath/npy_math_internal.h.src:635:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_exp2_m1l’: numpy/core/src/npymath/npy_math_internal.h.src:640:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ numpy/core/src/npymath/npy_math_internal.h.src: In function ‘npy_logaddexpl’: numpy/core/src/npymath/npy_math_internal.h.src:661:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ INFO: ar: adding 4 object files to build/temp.linux-x86_64- 3.8/libnpymath.a ar: build/temp.linux-x86_64-3.8/numpy/core/src/npymath/npy_math.o: No such file or directory error: Command "ar rcs build/temp.linux-x86_64-3.8/libnpymath.a build/temp.linux-x86_64-3.8/numpy/core/src/npymath/npy_math.o build/temp.linux-x86_64-3.8/build/src.linux-x86_64- 3.8/numpy/core/src/npymath/ieee754.o build/temp.linux-x86_64- 3.8/build/src.linux-x86_64- 3.8/numpy/core/src/npymath/npy_math_complex.o build/temp.linux- x86_64-3.8/numpy/core/src/npymath/halffloat.o" failed with exit status 1 INFO: ########### CLIB COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: x64 Compiler : gcc
CPU baseline : Requested : 'native' Enabled : SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 Flags : -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt - msse4.2 -mavx -mf16c -mfma -mavx2 Extra checks: none
CPU dispatch : Requested : 'none' Enabled : none Generated : none INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /var/tmp/awips2-python-numpy-1.22.3-3.8.2.el7-root-jpeet/numpy- 1.22.3/build/temp.linux-x86_64-3.8/ccompiler_opt_cache_clib.py _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: sebastian@sipsolutions.net
To whom it may concern: I am trying to get some help on the problem listed below. Any help would be greatly appreciated. V/R Jesse S. Peet Configuration Manager Specialist/Engineer Email: jesse.peet@raytheon.com Cell: 719-322-4257 ________________________________ From: Jesse Peet <jesse.peet@raytheon.com> Sent: Tuesday, June 14, 2022 11:14 AM To: numpy-discussion@python.org <numpy-discussion@python.org> Subject: [External] [Numpy-discussion] numpy build question I am trying to build numpy 1.22.3 in container using a rhel8 host and the container being rhel7. My version of gcc is 4.8.5-44. Here is the error I get building library "npymath" sourcesWARN: Could not locate executable armflang _configtest.cxx: In function ‘int main()’: _configtest.cxx:1:17: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ _configtest.cxx:1:22: error: ‘x’ does not name a type int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ _configtest.cxx:1:55: error: ‘x’ was not declared in this scope int main(void){ auto x = 0.0; return static_cast<int>(x); } ^ Traceback (most recent call last): File "setup.py", line 461, in <module> setup_package() File "setup.py", line 453, in setup_package setup(**metadata) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/opt/rh/rh-python38/root/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command cmd_obj.run() File "numpy/core/setup.py", line 708, in get_mathlib_info raise RuntimeError( RuntimeError: Broken toolchain: cannot link a simple C++ program. note: A compiler with support for C++11 language features is required. V/R Jesse S. Peet Configuration Manager Specialist/Engineer Email: jesse.peet@raytheon.com Cell: 719-322-4257
participants (4)
-
Jesse Peet
-
jesse.peet@raytheon.com
-
Matti Picus
-
Sebastian Berg