From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: From: Stephen Parker To: "'9fans@cse.psu.edu'" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [9fans] const declarators in structs Date: Thu, 16 Nov 2000 10:35:39 +0000 Topicbox-Message-UUID: 2c17a180-eac9-11e9-9e20-41e7f4b1d025 i spent a while this morning pondering what an error message from 8c meant. i tracked it down to a struct of the form: struct S { int const *p; }; the compiler suggested that unnamed objects in structs should be of struct type. (i know that const isn't really a plan9 thing, but this was a bit of code from a small device that i was trying to port.) stephen