#1346 reserved identifier violation

WSL
closed
nobody
MinGW (57)
wont-fix
Behaves_as_Documented
2013-01-21
2009-08-28
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:
- __GETOPT_H__
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/getopt.h?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=src

- _INTTYPES_H_
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/inttypes.h?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=src

- _TYPES_H_
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/include/sys/types.h?rev=1.10&content-type=text/x-cvsweb-markup&cvsroot=src

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

  • Earnie Boyd

    Earnie Boyd - 2009-08-28
    • milestone: --> Behaves_as_Documented
    • status: open --> closed-wont-fix
     
  • Earnie Boyd

    Earnie Boyd - 2009-08-28

    I think you misunderstand. We are the creators of the language. We have every right to create these. You as the user do not have the right to use them in your programs for your own use.

     
  • Earnie Boyd

    Earnie Boyd - 2013-01-21
    • status: closed-wont-fix --> closed
    • resolution: --> wont-fix
    • category: --> Behaves_as_Documented
    • milestone: Behaves_as_Documented --> WSL
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks