[Numpy-discussion] Getting rid of annoying weave nag (original) (raw)

David M. Cooke cookedm at physics.mcmaster.ca
Fri Jun 9 04:01:52 EDT 2006


On Thu, Jun 08, 2006 at 11:28:04PM -0600, Fernando Perez wrote:

Hi all,

the following warning about strict-prototypes in weave drives me crazy: longs[~]> python wbuild.py <weave: compiling> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ since I use weave on auto-generated code, I get it lots of times and I find spurious warnings to be very distracting. Anyone object to this patch against current numpy SVN to get rid of this thing? (tracking where the hell that thing was coming from was all kinds of fun)

Go ahead.

I'm against random messages being printed out anyways -- I'd get rid of the '<weave: compiling>' too. There's a bunch of code in scipy with 'print' statements that I don't think belong in a library. (Now, if we defined a logging framework, that'd be ok with me!)

-- |>|/|< /--------------------------------------------------------------------------
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |cookedm at physics.mcmaster.ca



More information about the NumPy-Discussion mailing list