GNOME Bugzilla – Bug 596031
reserved identifier violation
Last modified: 2010-01-13 21:06:45 UTC
I suggest to try the search pattern "\b_(?:(?:_(.*))|([A-Z]+))" on source files. A couple of places will be found where names begin with two underscores or an underscore and an uppercase letter. Examples: - __G_LIB_H__ http://svn.gnome.org/viewvc/glib/trunk/glib/glib.h?revision=7537&view=markup - _GBookmarkFile http://svn.gnome.org/viewvc/glib/trunk/glib/gbookmarkfile.h?revision=6875&view=markup This does not fit to the expected naming conventions of the C language standard if they are not used for a compiler implementation. See also: - Section "7.1.3 Reserved identifiers". http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf - Book "The New C Standard: An Economic and Cultural Commentary" by Derek M. Jones http://www.knosof.co.uk/cbook/
Why do you consider this as a "major" issue? Does it break anything you know about or is this just an academic issue you wanted to file?
(In reply to comment #1) Some source files use identifiers that tamper with the reserved namespace. How would you categorise such a handling of the C language rules?
Dup of bug 79633 ?
yes *** This bug has been marked as a duplicate of bug 79633 ***