Bug 10046

Summary: libXrandr-1.2.0 makes use of the delete C++ keyword, breaking compiling with C++ applications
Product: xorg Reporter: Doug Goldstein <cardoe>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: eric, fredrik, jasmin-bugfd, keithp, voip
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
libXrandr-1.2.0-delete-keyword-usage.patch none

Description Doug Goldstein 2007-02-20 12:33:24 UTC
libXrandr 1.2.0 uses delete in it's header, but when it's used in C++ applications it results in a failure to compile since delete is a C++ keyword.
Comment 1 Doug Goldstein 2007-02-20 12:33:54 UTC
Created attachment 8792 [details] [review]
libXrandr-1.2.0-delete-keyword-usage.patch

Changes delete to del
Comment 2 Alan Coopersmith 2007-02-20 13:18:16 UTC
*** Bug 9774 has been marked as a duplicate of this bug. ***
Comment 3 Alan Coopersmith 2007-02-20 13:19:00 UTC
*** Bug 9282 has been marked as a duplicate of this bug. ***
Comment 4 Donnie Berkholz 2007-02-20 18:36:26 UTC
I think this got fixed earlier today -- please confirm.
Comment 5 Fredrik Höglund 2007-02-21 14:48:56 UTC
Yes, this has already been fixed in git - hopefully there will be a new
release with this fix soon.

Thanks for the bug report.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.