#95 reserved identifier violation

open
nobody
3
2012-09-15
2009-07-27
Markus Elfring
No

I suggest to try the search pattern "_+[A-Z]+" on the source files. You will find a couple of places where names begin with an underscore and an uppercase letter.

Examples:
- _HAS_LIVES_AUDIO_H
http://lives.cvs.sourceforge.net/viewvc/lives/lives/src/audio.h?revision=1.19&view=markup

This does not fit to the expected naming conventions of the C language standard.
http://en.wikipedia.org/wiki/Reserved_identifier

See also section "7.1.3 Reserved identifiers".
http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf

Discussion

  • Salsaman
    Salsaman
    2009-07-28

    I am sure I have seen this in other libraries. Research provided material before accepting.

     
  • Markus Elfring
    Markus Elfring
    2009-07-28

    I know that some software projects are affected. I recommend to change the way to choose unique names in your source files at some places.