Bug 70680 - reserved identifier violation
Summary: reserved identifier violation
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: 1.0
Hardware: All All
: lowest trivial
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-20 16:54 UTC by Markus Elfring
Modified: 2014-03-07 16:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Comment 1 Josh Triplett 2013-10-20 20:07:06 UTC
It's certainly not a high priority, and it's unlikely this will ever cause an issue, but sure, we ought to switch to something like FOO_H_INCLUDED.
Comment 2 Uli Schlachter 2014-03-07 15:44:56 UTC
Unless you provide patches, I doubt that anyone will ever work on this. Having this with and without underscores it just equally likely to run into a collision, so there is no point.
Comment 3 Markus Elfring 2014-03-07 16:07:49 UTC
(In reply to comment #2)

I could show a patch after a basic clarification for acceptance of corresponding changes.
How do you think about to avoid that this software depends on undefined behaviour?
https://www.securecoding.cert.org/confluence/display/seccode/CC.+Undefined+Behavior#CC.UndefinedBehavior-ub_106
Comment 4 Alan Coopersmith 2014-03-07 16:21:27 UTC
While the standard may not define the behavior, all our supported compilers
do, so we don't need to avoid it.


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.