-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
TST: Start testing with "-std=c99" on travisCI. #11905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[skip appveyor] C99 looks to work with gcc for all the Python versions we currently support. Testing with c99 is a step forward in testing numpy#11888 before it gets merged after we drop Python 2.7 support.
84b6d5a
to
c9f2629
Compare
Would this eventually end up as a change within distutils? |
Maybe. Given that some downstream projects use numpy distutils, we may want to add c99 compilers, such as linux does.
|
Maybe this is a better way of showing what linux does
|
@pv @rgommers @juliantaylor Thoughts on C99? |
+1 for full C99 compat, but I don't think we can add it to |
I'm not sure any changes in numpy.distutils are required --- there's potential downstream breakage, and those who need this sort of flags or compiler executables can add them themselves (similarly as here). For numpy itself, C99 should be fine. That MSVC doesn't support it fully is ridiculous, but IIUC the newer versions Python3 uses are better than the 2.7 situation. |
Yeah, Steve Dower said that anything in C99 not supported for MSVC 2015 (IIRC, could be 2017) is considered a bug. So should be fine by now for Python 3.x |
The bare |
Note that pocketfft is now building on both travis and appveyor, #11888. |
Going to merge this. The |
C99 looks to work with gcc for all the Python versions we currently
support. Testing with c99 is a step forward in testing #11888 before
it gets merged after we drop Python 2.7 support.