Pavel Troller [2007年04月22日 07:29]: > 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. The same fix went into libXrandr-1.2.1: http://gitweb.freedesktop.org/?p=xorg/lib/libXrandr.git;a=commitdiff;h=c279b64ccca18b14974e413b0b1d55ac81abceda Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.x.org/archives/xorg/attachments/20070422/cb2a58db/attachment.pgp>