diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 16:23:16 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 16:23:16 +0000 |
commit | 97fc8cd7b60999e16f65a9a9d6c87a2f913d5a64 (patch) | |
tree | a78c709b254132bcb0e685ef8241287f323d77fc | |
parent | 3afbe8d2bff4fddbb1faa46fc63e0bf941378d20 (diff) | |
download | ATCD-97fc8cd7b60999e16f65a9a9d6c87a2f913d5a64.tar.gz |
ChangeLogTag: Wed Sep 22 11:20:39 1999 David L. Levine <levine@cs.wustl.edu>
-rw-r--r-- | ChangeLog-99b | 21 | ||||
-rw-r--r-- | ace/Basic_Types.h | 8 |
2 files changed, 22 insertions, 7 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index 4a2474808bd..4445b56a777 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,11 +1,20 @@ +Wed Sep 22 11:20:39 1999 David L. Levine <levine@cs.wustl.edu> + + * ace/Basic_Types.h: use u_long for ptr_arith_t, even + with 64-bit ints, with Sun CC. For unknown reasons, + Sun CC 5.0 won't allow a reintepret cast of a 64-bit + pointer to a 64-bit int (with -xtarget=ultra -xarch=v9a). + Thanks to Giga Giguashvili <gregoryg@ParadigmGeo.com> for + reporting this. + 1999-09-21 James CE Johnson <jcej@chiroptera.tragus.org> - * docs/tutorials/Makefile - * docs/tutorials/???/* - Added a number of notes about proper usage of THR_NEW_LWP and - THR_DETACHED. Rebuilt all of the .html and .shar files. Probably - touched too many along the way but better safe than sorry. - + * docs/tutorials/Makefile + * docs/tutorials/???/* + Added a number of notes about proper usage of THR_NEW_LWP and + THR_DETACHED. Rebuilt all of the .html and .shar files. Probably + touched too many along the way but better safe than sorry. + Tue Sep 21 21:56:10 1999 David L. Levine <levine@cs.wustl.edu> * docs/ACE-subsets.html: replaced absolute link to diff --git a/ace/Basic_Types.h b/ace/Basic_Types.h index cc4530c8b13..81d817935df 100644 --- a/ace/Basic_Types.h +++ b/ace/Basic_Types.h @@ -210,7 +210,13 @@ typedef ACE_UINT16 ACE_USHORT16; // that unsigned versions of a type are the same size as the signed // version of the same type. #if ACE_SIZEOF_VOID_P == ACE_SIZEOF_INT - typedef u_int ptr_arith_t; +# if defined (__SUNPRO_CC) + // For unknown reasons, Sun CC 5.0 won't allow a reintepret cast + // of a 64-bit pointer to a 64-bit int. + typedef u_long ptr_arith_t; +# else /* ! __SUNPRO_CC */ + typedef u_int ptr_arith_t; +# endif /* ! __SUNPRO_CC */ #elif ACE_SIZEOF_VOID_P == ACE_SIZEOF_LONG typedef u_long ptr_arith_t; #elif ACE_SIZEOF_VOID_P == ACE_SIZEOF_LONG_LONG |