You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Installed NumCpp latest on ArchLinux using CMake, and when building using g++ getting a lot of errors. Except for the include line, I haven't even used it anywhere inside my code.
To Reproduce
Steps to reproduce the behavior:
Install NumCpp using CMake
Include in a cpp file like this: #include <NumCpp.hpp>
Sorry for the late response. I have since realized that it only throws the compile error if I also include Xlib like this: #include <X11/Xlib.h> or #include <X11/Xutil.h>
Ah ok. My guess is that X11, being an old C library, probably does something like
#defineBoolint
somewhere within the library. This will clash and cause problems with a couple template types in NumCpp... Macros are evil!. I'll rename that template parameter in the next release to try to avoid this type of issue in the future.
Describe the bug
Installed NumCpp latest on ArchLinux using CMake, and when building using g++ getting a lot of errors. Except for the include line, I haven't even used it anywhere inside my code.
To Reproduce
Steps to reproduce the behavior:
#include <NumCpp.hpp>
g++ test.cpp -o test
Expected behavior
Should compile normally
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
g++ verion: g++ (GCC) 11.2.0
c++ standard used: c++14
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: