[New-bugs-announce] [issue25385] Spurious warning when compiling extension module

Antoine Pitrou report at bugs.python.org
Mon Oct 12 19:35:17 CEST 2015


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 -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC

compile options: '-I/home/antoine/35/lib/python3.5/site-packages/numpy/core/include -I/home/antoine/35/include/python3.5m -c'
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
gcc: numba/_helpermod.c
[...]

----------
components: Distutils
messages: 252875
nosy: dstufft, eric.araujo, pitrou, steve.dower
priority: normal
severity: normal
status: open
title: Spurious warning when compiling extension module
type: behavior
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25385>
_______________________________________


More information about the New-bugs-announce mailing list