[OpenSIPS-Devel] [ opensips-Bugs-2955198 ] reserved identifier violation

SourceForge.net noreply at sourceforge.net
Fri Feb 19 22:38:44 CET 2010


Bugs item #2955198, was opened at 2010-02-19 22:38
Message generated for change (Tracker Item Submitted) made by elfring
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2955198&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Markus Elfring (elfring)
Assigned to: Nobody/Anonymous (nobody)
Summary: reserved identifier violation

Initial Comment:
I suggest to try the search pattern "\<_(?:(?:_(.*))|([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:
* _AAA_AVP_H
  http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/aaa/aaa_avp.h?revision=5907&view=markup

* _TSession
  http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/modules/mi_xmlrpc/abyss_session.h?revision=3226&view=markup


This does not fit to the expected naming conventions of the C language standard.
* See 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/

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2955198&group_id=232389



More information about the Devel mailing list