ANSI grammar questions

Henry Spencer henry at utzoo.uucp
Fri Nov 18 04:01:52 AEST 1988


In article <179 at twwells.uucp> bill at twwells.UUCP (T. William Wells) writes:
>: So you can stack any number of storage_class_spec, type_spec, and type_qual
>: in front of your declaration, in any order?  Things like:
>:
>: void static fn();
>
>Right. This is intentional. Believe it or not, there are situations
>where this flexibility is useful.

However, beware:  the "future directions" section of the draft standard
explicitly flags putting the storage class in the middle as "obsolescent",
and implies that it is likely to be made illegal in future revisions.
-- 
Sendmail is a bug,             |     Henry Spencer at U of Toronto Zoology
not a feature.                 | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list