A problem with X11/extensions/Xrandr.h

Pavel Troller patrol at sinus.cz
Sat Apr 21 22:29:03 PDT 2007

  I've found a problem with the XRRGetOutputProperty() function prototype.
  One of its parameters is "Bool delete", which causes problems, when the file
file is included from a C++ program - "delete" is a reserved word (operator)
in C++.
  It's in XRandr-1.2.
  For this particular compilation, I've made a quick fix by changing delete
to _delete and returning it back when finished, but I think that another name
should be used.
        WIth regards, Pavel Troller

More information about the xorg mailing list