Around 17 o'clock on Dec 17, Egbert Eich wrote:

> Several X headers (Xlib.h!) contain the following defines:
> 
> #define Bool    int
> #define Status  int
> 
> Does anybody see any side effects if we change this to
> a typedef? This would avoid unpleasant surprises for 
> programmers.

You can't change Xlib.h -- it's part of the Xlib specification.  Switching 
from #define to typedef will mean the existing workarounds for this 
particular namespace polution will fail.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to