[Mesa-dev] [PATCH] mesa: Have configure define NDEBUG, not mtypes.h.

Matt Turner mattst88 at gmail.com
Fri Feb 20 12:46:08 PST 2015


On Fri, Feb 20, 2015 at 12:44 PM, Matt Turner <mattst88 at gmail.com> wrote:
> mtypes.h had been defining NDEBUG (used by assert) if DEBUG was not
> defined. Confusing and bizarre that you don't get NDEBUG if you don't
> include mtypes.h.
>
> ... which is just what happened in commit bef38f62e.
>
> Let's let configure define this for us if not using --enable-debug.
> ---

Scons will probably need similar treatment.


More information about the mesa-dev mailing list