[Xquartz-dev] odd hang with NDEBUG

Ben Byer bbyer at apple.com
Fri Nov 30 09:15:43 PST 2007

On Nov 29, 2007, at 1:47 AM, Jeremy Huddleston wrote:

> 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.

Hrm.  xorg-config, or dix-config?  I was eventually told that xorg- 
config was really supposed to just be for, well, stuff that didn't  
fall into its own DDX (like Darwin) -- so we should be using dix- 
whatever instead of xorg-whatever.
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer

More information about the Xquartz-dev mailing list