Displaying 2 results from an estimated 2 matches for "uses_twos_complement".
2002 Mar 25
1
int 32 bit error on SPARC 64bit (PR#1415)
...arises.
671 To be safe, we signal a compiler error if int is not 32 bits. */
672 # error code requires that int have 32 bits
673 #else
674 /* Just to be on the safe side, configure ought to check that the
675 mashine uses two's complement. A define like
676 #define USES_TWOS_COMPLEMENT (~0 == (unsigned) -1)
677 might work, but at least one compiler (CodeWarrior 6) chokes on it.
678 So for now just assume it is true.
679 */
***Related code in configure file:
10871 if test "${ac_cv_sizeof_int}" = 4; then
10872 cat >> confdefs.h <<\EOF
1...
2002 Apr 04
2
non-32-bit integer problem on SUN-Blade
...orry about writing alternate code when the need arises.
To be safe, we signal a compiler error if int is not 32 bits. */
# error code requires that int have 32 bits
#else
/* Just to be on the safe side, configure ought to check that the
mashine uses two's complement. A define like
#define USES_TWOS_COMPLEMENT (~0 == (unsigned) -1)
might work, but at least one compiler (CodeWarrior 6) chokes on it.
So for now just assume it is true.
*/
#######################################################################
So it seems that I now have 64 bit integers?
Has anyone else had this problem?
I did search...