[Xquartz-dev] odd hang with NDEBUG
Jeremy Huddleston
jeremyhu at berkeley.edu
Thu Nov 29 01:47:09 PST 2007
So I cleaned up the source files to all include xorg-config.h ... but
when I did that, I got a weird hang. I narrowed it down to NDEBUG
being defined for assert.h. Undefining it for that include causes the
problem to go away. I don't know why, and I can't seem to replicate
it in a small test case like this:
#define NDEBUG
#include <assert.h>
int main() {
assert(0);
return 1;
}
Anyways... I committed this to 1.2 and will do the same for 1.4
tomorrow.
--Jeremy
More information about the Xquartz-dev
mailing list