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]

Re: egcs 1.1.1 bitfield bug in 8bit port (ATMEL AVR)


> Date: Sat, 13 Feb 1999 14:24:51 +0300 (MSK)
> From: Denis Chertykov <denis@medo.fov.uni-mb.si>
> To: egcs@egcs.cygnus.com

> Compiler aborts on `unsigned c:24;' because in my port:
>  - int = 8 bit;
>  - long = 16 bit;
>  - long long = 32 bit.

This will cause no end of grief.  I'd recommend int be at least 16
bits, and long long 64 bits.  Users _can_ use char if they _want_ an 8
bit type.


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