https://bugs.freedesktop.org/show_bug.cgi?id=49110 --- Comment #6 from Mike Mestnik <cheako+bugs_freedesktop_org@xxxxxxxxxxxxxxx> 2012-05-08 20:25:23 PDT --- I've added 3 patches to http://llvm.org/bugs/show_bug.cgi?id=12759 and did my best to describe what/why. I believe that mesa also needs this done for it's use of NDEBUG, especially if #if(s) are used to protect object exports in include files as was the case with llvm. Either way, it's still possible for mesa to not directly trample over this project global define. This is essentially what I did for llvm: #ifdef LLVM_NDEBUG #define NDEBUG LLVM_NDEBUG #endif #include <assert.h> In the case where assert.h is included in an include file, like FLAC and alsa do, then NDEBUG should be save/restored around the assert.h include... Not that it'll do any good as in those situations it's first come first served and projects that use assert will likely include it ~vary~ early. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel