Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: volatiles/consts inside structs in dpANS C
Message-ID: <1988Mar13.005411.12592@utzoo.uucp>
Organization: U of Toronto Zoology
References: <566@myrias.UUCP>
Date: Sun, 13 Mar 88 00:54:11 GMT

As I recall (my copy isn't handy), the latest draft says that const,
volatile, etc. inside a struct sort of pop to the surface when you attempt
something like an assignment.  So assigning to a struct with a const
member is illegal.  Personally, I think such "buried qualifiers" should
simply be illegal, since they are useless...
-- 
Those who do not understand Unix are |  Henry Spencer @ U of Toronto Zoology
condemned to reinvent it, poorly.    | {allegra,ihnp4,decvax,utai}!utzoo!henry
