diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-05-20 14:50:47 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-05-20 14:50:47 +0000 |
commit | 2d54d4a4210174ad59fa1481b5e4a5f58a077831 (patch) | |
tree | c7de11d7e0265c4d530d4475de9538d5d69e1c9d /TAO/ChangeLogs | |
parent | 3be0474ccf61c0333efa5d7032608c8294775933 (diff) | |
download | ATCD-2d54d4a4210174ad59fa1481b5e4a5f58a077831.tar.gz |
ChangeLogTag:Wed May 19 12:46:33 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'TAO/ChangeLogs')
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-00b | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-00b b/TAO/ChangeLogs/ChangeLog-00b index ee09051b44f..e351ba06a04 100644 --- a/TAO/ChangeLogs/ChangeLog-00b +++ b/TAO/ChangeLogs/ChangeLog-00b @@ -6919,26 +6919,24 @@ Mon Aug 21 16:40:21 2000 Jeff Parsons <parsons@cs.wustl.edu> * tao/RTCORBAC.i: * tao/ifrfwd.h: - In order to ensure that enum values are 32 bits, - as required by the CORBA spec, the IDL - compiler has been adding an extra value to generated - enums with the value 0x7FFFFFF. It turns out that - this is a problem when developers use a strict C++ - compiler, one which requires that all possible case - values be handled in a switch statement. If there is - a switch statement in application code that uses a - generated enum value, developers must add a - default case to their switch statement, and TAO's - enforcement of the 32-bit requirement for enum - values is not transparent. Since TAO no longer - supports interpretive marshaling, Carlos points out - that we can remove the extra enum member, and - enforce 32-bit values in the enum CDR operators. - Those changes have been made in the above files. - In the extraction operator, since a memcpy has been - replaced by a cast, performance should improve - slightly. Thanks to Alex Hornby <alex@anvil.co.uk> - for reporting this problem. + In order to ensure that enum values are 32 bits, as required + by the CORBA spec, the IDL compiler has been adding an extra + value to generated enums with the value + _TAO_ENUM_32BIT_ENFORCER = 0xFFFFFFFF. It turns out that + this is a problem when developers use a strict C++ compiler, + one which requires that all possible case values be handled + in a switch statement. If there is a switch statement in + application code that uses a generated enum value, + developers must add a default case to their switch + statement, and TAO's enforcement of the 32-bit requirement + for enum values is not transparent. Since TAO no longer + supports interpretive marshaling, Carlos points out that we + can remove the extra enum member, and enforce 32-bit values + in the enum CDR operators. Those changes have been made in + the above files. In the extraction operator, since a memcpy + has been replaced by a cast, performance should improve + slightly. Thanks to Alex Hornby <alex@anvil.co.uk> for + reporting this problem. Mon Aug 21 15:40:00 2000 Kirthika Parameswaran <kirthika@cs.wustl.edu> |