Character Sets

Henry Spencer henry at utzoo.uucp
Tue May 30 10:14:55 AEST 1989


In article <26621 at watmath.waterloo.edu> rbutterworth at watmath.waterloo.edu (Ray Butterworth) writes:
>Note that the Standard is defined in terms of what a compiler must do
>with a conforming program.  It does not dictate much about what a
>compiler must do with programs that do not conform to the Standard.
>
>In particular, it does not prevent any standard compiler from accepting
>identifiers with other characters in them so long as those characters
>could not legally appear in the same place in a conforming program.
>
>...one would expect the compiler to have
> an option that enables warnings about such non-standard extensions...

Note the wording in 2.1.1.3, which implies (subject to the interpretation
of some of the terms) that a compiler is in fact *required* to produce at
least one warning for any input file that violates the Standard's syntax
rules or constraints.  That doesn't mean it has to refuse to compile it,
mind you.
-- 
Van Allen, adj: pertaining to  |     Henry Spencer at U of Toronto Zoology
deadly hazards to spaceflight. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list