[issue25385] Spurious warning when compiling extension module

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue25385] Spurious warning when compiling extension module

2015-10-13 Thread Steve Dower
Steve Dower added the comment: Issue #23970 added the new compiler class, but all that really changed is that the module name is now distutils._msvccompiler. You *still* shouldn't access it except through distutils.ccompiler.new_compiler(compiler='msvc'), which is how it always was. I can't p

[issue25385] Spurious warning when compiling extension module

2015-10-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Do you have a reference or changeset to point to, so that the Numpy developers can understand easily what the issue is? -- ___ Python tracker _

[issue25385] Spurious warning when compiling extension module

2015-10-13 Thread Steve Dower
Steve Dower added the comment: This should be fixed in numpy.distutils. The warning exists in distutils.msvccompiler, which is deprecated and only remains in case people were importing it directly (the only reference in the stdlib is the test suite). -- ___

[issue25385] Spurious warning when compiling extension module

2015-10-12 Thread Antoine Pitrou
New submission from Antoine Pitrou: I'm under Linux, but get the following warning when compiling an extension module. This only happens with 3.5+. $ python setup.py build_ext --inplace running build_ext building 'numba._helperlib' extension C compiler: gcc -pthread -Wsign-compare -Wunreachab