Bug 453 - reserved identifier violation
reserved identifier violation
Status: NEW
Product: AspectC++
Classification: Unclassified
Component: Parser-Puma
unspecified
All All
: P2 normal
Assigned To: Matthias
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-29 20:49 CEST by Markus Elfring
Modified: 2011-10-31 07:27 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Elfring 2011-10-29 20:49:39 CEST
I suggest to try the search pattern "\<_(?:(?:_(.*))|([A-Z]+))" on source files.
Some places will be found where names begin with two underscores or an
underscore and an uppercase letter.

Examples:
- __AdviceInfo_h__
- __Condition_h__
- __unknown_t
- _Anonymous

This does not fit to the expected naming conventions of the C/C++ language standard.
https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+use+identifiers+that+are+reserved+for+the+implementation