Public bug reported:

In X11/Xlib.h on line 110:
#define Bool int
#define Status int

This can cause namespace conflicts if you use the word Status as a variable 
name or type eg: 
SomeClass::Status SomeClass::SomeMethod(void)
{
    int Status;
}

These should be typedef'ed so they get the right scope.

** Affects: libx11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Using #define for Status and Bool can cause namespace conflicts
https://bugs.launchpad.net/bugs/268643
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to