In message <[EMAIL PROTECTED]>
          Dan Sugalski <[EMAIL PROTECTED]> wrote:

> At 11:45 PM 11/21/00 +0000, Tom Hughes wrote:
>
> >Given that it isn't a valid C identifier, yes... Unless you're
> >using VAXC or DECC of course, which was your point I assume ;-)
>
> Odd. The Dec C docs don't mention it as a problem, and both Dec C on VMS
> and GCC on a linux box take it without complaint. They might've slipped it
> in as valid in the final ANSI standard or something. (I can't dig up my
> ANSI K&R to check, unfortunately)

It's certainly not valid in the ANSI standard. From the gcc manual page:

       -ansi  Support all ANSI standard C programs.

              This  turns  off certain features of GNU C that are
              incompatible with ANSI C, such as the  asm,  inline
              and  typeof keywords, and predefined macros such as
              unix and vax that identify the type of  system  you
              are  using.   It  also  enables the undesirable and
              rarely used ANSI trigraph  feature,  and  disallows
              `$' as part of identifiers.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...Computer Science is merely the post-Turing decline in formal systems theory.

Reply via email to