[omniORB] NT compile error on omniORB3 snapshot dated 1-Feb-2000

Terry A. Lee terryl@wt.net
Tue, 1 Feb 2000 13:05:47 -0600


When compiling the omniidl compiler I get the following error:

cl -c -MD -GX -Zm200 -I. -I..\include -I. -I..\..\..\..\include -D__WIN32__ 
-D__
x86__ -D__NT__ -D__OSVERSION__=4 -Foo2be_interface.o -Tpo2be_interface.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86
Copyright (C) Microsoft Corp 1984-1997. All rights reserved.

o2be_interface.cc
o2be_interface.cc(2148) : error C2065: 'cerr' : undeclared identifier
o2be_interface.cc(2148) : error C2297: '<<' : bad right operand
o2be_interface.cc(2154) : error C2297: '<<' : bad right operand
make: *** [o2be_interface.o] Error 2

I added #include <iostream.h> to o2be_interface.cc, however I don't
know if you really intend to leave these messages to cerr like this.

Terry Lee
Paradigm Geophysical