[omniORB] omniORB 3.0.1 breaks STL-based WIN32 Apps

Paul Nader Paul.Nader@aals27.alcatel.com.au
Sat, 02 Sep 2000 14:12:03 +1000


The unconditional inclusion of <iostream.h> in <omniORB3/boa.h> and
<omniORB3/omniURI.h>
creates problems for STL-based WIN32 applications because of the well
documented incompatablity
between Microsoft's old & new iostreams APIs (ie the STL requires
<iostream> and you cannot
include <iostream.h> and <iostream> in the same compilation unit or else
you end up with zillions
of ambigutity errors.

Anyway, I can't see the need to include <iostream.h> in either of these
two files because the omniORB
headers don't actually use them. I think they should be included
directly in the lib .cc files where
required, as is done in initRefs.cc.

Can this be changed?

Thanks, Paul.