[omniORB] OmniOrb 4.1.3 under VMS 7.3-2 - build of policy.cc

Bruce Visscher bruce.visscher at gmail.com
Wed Jul 1 14:04:47 BST 2009


Sorry for the slow response.

2009/6/30 Frank Gribbin <fjg at ing.iac.es>
> I now have problems with building policy.cc I'm not a C++ programmer, but it looks like
> there's no >>= operation defined for the two types CORBA:Any and
> PortableServer::IdAssignmentPolicyValue although there is for Any and
> CORBA::PolicyError

On my omniORB 4.1.2 OpenVMS system, the operator is declared via:

#include <omniORB4/CORBA.h>                         //
src/lib/omniORB/dynamic/policy.cc:68
#include <omniORB4/poa.h>                               //
include/omniORB4/CORBA.h:510
#include <omniORB4/poa_enums_operators.hh>  // include/omniORB4/poa.h:822
void operator<<=(::CORBA::Any& _a, PortableServer::IdAssignmentPolicyValue _s);

 // include/omniORB4/poa_enums_operators.hh:78

The definition for this operator is in
src/lib/omniORB/poa_enumsDynSK.cc which src/lib/omniORB/poastub.cc
#includes.

Not sure what went wrong in your build but at least maybe you could
check the above.

IIRC, poa_enums_operators.hh and poa_enumsDynSK.cc are built via
'omniidl -bcxx -WbF' which could (maybe) get a little tricky.



More information about the omniORB-list mailing list