On 04/19/2014 10:53 AM, Jouni K. Seppänen wrote: > I was prompted by > > https://github.com/matplotlib/matplotlib/issues/2916 > > to run some static checkers on the C/C++ extension modules, and I was > going to submit some simple fixes as pull requests, including assertions > of some preconditions. I just realized that our build system sets the > -DNDEBUG compiler flag, which makes sense for release builds but could > hide problems in test builds. > > Do any of our Travis, Launchpad, or other daily builds undefine NDEBUG? >
I think this is brought in from the parameters that were used to build Python itself. (The matplotlib build system doesn't explicitly add it). If you build matplotlib with a debug Python, you get a debug matplotlib, however. We could probably use a debug Python on Travis (in addition to the ones we already have) -- just a matter of installing the python-debug package and using the python-debug executable. Mike -- Michael Droettboom Science Software Branch Space Telescope Science Institute http://www.droettboom.com ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel