This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sizeof (_Bool)
- From: Dale Johannesen <dalej at apple dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, Stan Shebs <shebs at apple dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 30 Apr 2002 10:27:25 -0700
- Subject: Re: sizeof (_Bool)
On Monday, April 29, 2002, at 10:30 PM, Aldy Hernandez wrote:
> uhhh, speak of which... What is apple doing for vector long, or is
> that just context sensitive in the front end?
yes, "vector" is context sensitive. "vector long" is treated
as in the PIM (including a warning as deprecated, but that's recent).
> There's been some
> recent debate about bool defined to signed in <altivec.h>
This is also context sensitive in the FE(s), and quite tricky
to get right. I don't think there's any other way to conform
to the PIM and all the language standards, so if you don't
want to go the context-sensitive route, you'll have to decide
which conformance to give up.