volatiles/consts inside structs in dpANS C
Henry Spencer
henry at utzoo.uucp
Sun Mar 13 10:54:11 AEST 1988
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
More information about the Comp.lang.c
mailing list