[SciPy-dev] Weave: ext_module headers problems
prabhu_r at users.sf.net
Tue Oct 12 08:35:27 CDT 2004
This question is mostly for Eric. In ext_tools.ext_module this is the
definition of build_information:
info = [self.customize] + self._build_information + \
This means that any headers added via
are added *before* Python.h and this triggers warnings when the
functions are compiled. This is also what is invoked for all
weave.inline calls (see inline_tools.py line 433).
To get around this I've changed the definition to:
info = self._build_information + [self.customize] +\
This fixes the warnings and puts the user headers last. I am not sure
there is any specific reason that you put self.customize first. I
just thought I'd check with you before checking the change into CVS.
More information about the Scipy-dev