Hi, sorry; it should be +32767 (instead of +32768).
Regards, Rolf mspgcc-users@lists.sourceforge.net schrieb am 11.08.05 02:07:58: > > > Hi, > > > So, on a 64-bit processor int is 64 bit and long is 32? I don't thinks > > so. > > BTW, I've seen processors where char is 32 bit. > > in ANSI-C you have integer and float types of constant length (stdint.h, > ieee754.h). > In the "Rationale for International Standard-- Programming Languages-- c" you > can find that a char is a byte and that a byte always has 8 bit. > A wide char can be wider than 8 bit. > > By the way: The option, which allows setting int to 8 bit wide, is not ANSI-C > compatible > because the minimum value of INT_MAX is +32768 (ยง5.2.4.2.1). > > Regards, > > Rolf > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users