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: PATCH Re: sizeof (_Bool)


Jason Merrill wrote:
> 
> C and C++ bool should absolutely have the same size.  Does this do the
> trick for you?

Yes, this looks like the right thing.  Thank you!

Stan

> 2002-05-02  Jason Merrill  <jason@redhat.com>
> 
>         * defaults.h (BOOL_TYPE_SIZE): Move default here from cp/decl.c.
>         * c-decl.c (c_init_decl_processing): Use it.
>         * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Define to INT_TYPE_SIZE.
>         * config/i960/i960.h (BOOL_TYPE_SIZE): Don't define.
>         * config/mcore/mcore.h (BOOL_TYPE_SIZE): Don't define.
>         * cp/decl.c (BOOL_TYPE_SIZE): Move default to defaults.h.


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