warnings fixes with --enable-debug
Michel Dänzer
michel at daenzer.net
Wed May 7 01:49:22 PDT 2014
On 06.05.2014 03:10, Eric Anholt wrote:
> Here's a series for fixing almost all the warnings I get with
> --enable-debug. I had been building X without --enable-debug (and
> thus without asserts)
AFAICT xserver doesn't #define NDEBUG in general, so assertions should
work. The only exception is the following in glamor/glamor_priv.h:
#ifndef DEBUG
#define NDEBUG
#endif
> because mesa forces -O0 with --enable-debug,
I'm working around that via USER_C{,XX}FLAGS FWIW.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list