[omniORB] Ambiguity error when compiling with BCB

Lanctot, Benoit benoit.lanctot@nrc.ca
Thu, 29 Nov 2001 13:14:56 -0500


Hi everyone,

I am porting my Visibroker (BCB, IDE) client on omniORB and I get Ambiguity
error when I compile...

[C++ Error] sysset.h(24): E2015 Ambiguity between '_fastcall operator
/(int,const Currency &)' and '/'
[C++ Error] sysset.h(24): E2015 Ambiguity between '_fastcall operator
/(int,const Currency &)' and '/'
[C++ Error] sysset.h(25): E2015 Ambiguity between '_fastcall operator
/(int,const Currency &)' and '/'
[C++ Error] sysset.h(25): E2015 Ambiguity between '_fastcall operator
/(int,const Currency &)' and '/'
[C++ Error] sysset.h(28): E2029 'SetBase<TMsgDlgBtn,0,10>' must be a
previously defined class or struct


The error come between the VCL and the header files created by omnicpp.  If
I remove the include of my header files I don't have the Ambiguity error,
however I get a lot of none declare functions...


I am using the OmniORB version 3.0.3 built with BCC32 version 5.5.1 form Dr.
Soukhanov's web
I compile using the IDE and I need to use Borland VCL


Could any one help me?

Benoit Lanctot
Intelligent Forming Technologies
Industrial Materials Institute/NRC
Boucherville, Quebec, Canada