warnings fixes with --enable-debug

Eric Anholt eric at anholt.net
Wed May 7 12:42:48 PDT 2014


Michel Dänzer <michel at daenzer.net> writes:

> 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

Oh, let's delete that right away.

> I'm working around that via USER_C{,XX}FLAGS FWIW.

OK, that might be cleaner than what I've got rigged up currently.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140507/dfa2817b/attachment.sig>


More information about the xorg-devel mailing list