[omniORB] GCC 2.7.2 Compile - error OO4 20011213

tihomir.sokcevic@acterna.com tihomir.sokcevic@acterna.com
Fri, 14 Dec 2001 12:07:32 +0100



I got this error when trying to compile the 20011213 build with gcc 2.7.2:

... anonObject.cc
../../../../include/omniORB4/CORBA_Policy.h: In method `PolicyList_out':
In file included from anonObject.cc:60:
../../../../include/omniORB4/CORBA_Policy.h:149: member `_pd_seq' is a private
member of class `CORBA::PolicyList_var'
make[3]: *** [static/anonObject.o] Error 1


My solution was to insert in CORBA_Policy.h #95:

class PolicyList_out;

in front of

class PolicyList_var {
...
}

Best Regards
Tihomir Sokcevic