Closed crlotwhite closed 1 year ago
Thank you for your PR! Using c++11 looks good to me, but there's a compile error on Mac OS X we need to fix. Looking at my local clang I find:
gcc --help | grep std=
-cl-std=<value> OpenCL language standard to compile for.
-std=<value> Language standard to compile for
-sycl-std=<value> SYCL language standard to compile for.
So maybe worth trying -std=c++11
instead of --std=c++11
for OS X. If it doesn't work, we can leave compile options empty for OS X. Could you try to fix it?
I tested the build on my m1 macbook. Oddly enough, the absence of the flag didn't cause any c++17 issues. So, I modified it not to add the flag even on macOS. (if it has some problem, I will specify the c++ version for macOS too.)
(I'm sorry about the lint issue, haha..;;)
Hello, I added a flag to fix the C++17 issue. https://github.com/r9y9/pysinsy/issues/13
I tested in Ubuntu WSL (latest) and Windows 11 environments.