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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to