[omniORB] Compile error in omniEvents-2_4_1 & omniEvents-2_4_0

Alex Tingle alex.tingle at bronermetals.com
Tue Mar 2 11:48:23 GMT 2004


Hi Davy,

Davy Croonen <croonen.davy at pandora.be> wrote:
> I've problem with compiling omniEvents on Red Hat 9.0. When compiling
> omniEvents-2_4_1 or omniEvents-2_4_0 I got the following error:
...
> omniEventsLog.cc:697: invalid conversion from `int' to
> `std::_Ios_Openmode'

Looks like you are using gcc 3. There is a patch for that problem in the README.gcc file that you'll find with omniEvents-2.4.1.

I haven't incorporated the change into CVS yet, because I fear it would break other platforms. That whole area could do with rework - there must be a simpler way to open a file in a cross-platform-safe manner...

-Alex Tingle



More information about the omniORB-list mailing list