I noticed the C99 standard (ISO/IEC 9899:1999) doesn't include the dollar sign
($), the at sign (@) and the grave accent (`) in the basic character set (see
section 5.2.1). gcc, anyway, doesn't complain if I have something such as:

char c = '$';

instead of

char c = '\u0024';

I looked at the gcc man page, but I couldn't find an option to show a warning
when something like this appears in a C99 source file. What do you think?


-- 
           Summary: C99 basic character set
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pi00100100 at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41374

Reply via email to