From fc95b24603d2f6f64e2f4957afd2ecc7cf56ce50 Mon Sep 17 00:00:00 2001 From: parsons Date: Tue, 24 Aug 1999 23:23:58 +0000 Subject: * TAO_IDL/be/be_visitor_enum/enum_ch.cpp: Code generation for enums in .h file now appends an enum value called _TAO_ENUM_32BIT_ENFORCER and sets its value to 0xFFFFFFFF. All enums in CORBA must be 32 bits in size, and some compilers will try to use a smaller space if the enum values are small enough. Note that this extra member is not part of the IDL compiler's internal representation of the enum, so unions that use the enum as a discriminator won't have incorrect _default() code generated. --- TAO/ChangeLog-99c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index 5fb73a65884..3a7ec2c9ee8 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,18 @@ +Tue Aug 24 18:14:01 1999 Jeff Parsons + + * TAO_IDL/be/be_visitor_enum/enum_ch.cpp: + Code generation for enums in .h file now + appends an enum value called + _TAO_ENUM_32BIT_ENFORCER and sets its + value to 0xFFFFFFFF. All enums in CORBA must be + 32 bits in size, and some compilers will try to + use a smaller space if the enum values are + small enough. Note that this extra member is not + part of the IDL compiler's internal representation + of the enum, so unions that use the enum as a + discriminator won't have incorrect _default() + code generated. + Tue Aug 24 16:38:16 1999 Mike Moran * examples/Advanced/ -- cgit v1.2.1