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

SourceForge.net noreply at sourceforge.net
Sun Aug 1 21:48:16 CEST 2010


Bugs item #2955198, was opened at 2010-02-19 23:38
Message generated for change (Settings changed) made by bogdan_iancu
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: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Markus Elfring (elfring)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
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/

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-08-01 22:48

Message:
Hi Markus,

those are not identifies, but macros.

Regards,
Bogdan

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

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