SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Jouni K. S. <jk...@ik...> - 2014年04月19日 14:53:33
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?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Thomas K. <th...@kl...> - 2014年04月19日 19:25:34
On 19 April 2014 07:53, Jouni K. Seppänen <jk...@ik...> wrote:
> Do any of our Travis, Launchpad, or other daily builds undefine NDEBUG?
I don't think the Launchpad builds undefine that, unless Launchpad does it
for all builds by default.
Thomas
From: Michael D. <md...@st...> - 2014年04月21日 17:49:33
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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /