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

Davy Croonen croonen.davy at pandora.be
Tue Mar 2 10:27:27 GMT 2004


 Hi everyone,

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:

g++ -c -pthread -I/usr/local/include  -DHAVE_CONFIG_H  -I../include
-I../idl -g -O2 -fPIC  omniEventsLog.cc
omniEventsLog.cc: In member function `void
   omniEventsLog::openOfstream(std::ofstream&, const char*, int, int*)':
omniEventsLog.cc:697: invalid conversion from `int' to
`std::_Ios_Openmode'
omniEventsLog.cc:697:   initializing argument 2 of `void
   std::basic_ofstream<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode)
   [with _CharT = char, _Traits = std::char_traits<char>]'
make[1]: *** [omniEventsLog.o] Error 1
make[1]: Leaving directory `/home/kassa/omniEvents-2_4_0/src'
make: *** [all] Error 2

Does somebody know how to solve this error???

Thanks in advance

Greetz Davy




More information about the omniORB-list mailing list