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: underlying type for enums


On Tue, Dec 02, 2003 at 09:21:03AM +0000, Joseph S. Myers wrote:
> AFAICT compatible enumerators must be the exactly same type, not just have 
> the same values; there's no indication that compatibility (with the same 
> integer type) is transitive here; PR 6024.

Indeed, I would say that the PR is valid because 6.2.7/1 specifies
that the declaration tags must match if present.  But failing that
it mentions same names and values.

None of which really changes the fact of the Altivec usage...


r~


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