[omniORB] Early problems

Sai-Lai Lo S.Lo@uk.research.att.com
02 Sep 1999 17:26:21 +0100


The error means that MS VC++ 4.2 does not support bool type.
It has been a long time we last use MS VC++ 4.2.
It is better to use VC++ 5.0 if you can.

Sai-Lai


>>>>> David Hyde writes:

> I'm trying to compile my (first) OmniORB program on WIN NT 4.0, MS VS 4.2
> and am getting:

> d:\omniorb\include\omniORB2/CORBA_basetypes.h(60) : error C2239: unexpected
> token 'identifier' following declaration of bool'

> on the following line:

> #ifdef HAS_Cplusplus_Bool
--> typedef bool                      _CORBA_Boolean;
> #else
> typedef unsigned char             _CORBA_Boolean;
> #endif

> Does anyone know what is going on?






-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND