This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Attributes on structs


Jason Merrill wrote:

> One solution to this issue would be to simply disallow attributes on
> structs after the definition.  Failing that, we need to define how they
> interact with the type system.  Opinions?

We had a discussion about this a while back:

http://gcc.gnu.org/ml/gcc/2006-10/msg00318.html

Roughly speaking, it seemed like my proposal was approximately
acceptable to those who commented -- except that it seemed that it
actually allowed a bit more than we need to do so.  In particular, my
reading of that thread is that people seemd to agree we could simply
disallow attributes after the definition, which is fine by me.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]