[omniORB] omniORB4 compile errors in BiDirPolicy.h

Duncan Grisby duncan@grisby.org
Wed Jun 5 20:30:04 2002


On Wednesday 5 June, Thomas Amsler wrote:

> Did anybody experience compile errors in BiDirPolicy.h , omniORB4?  I am 
> getting the following error:
> 
> /pgsql/include -D__x86__ -D__linux__ -D__OSVERSION__=2 -D_REENTRANT 
> -D__OMNIORB4__     -g -O2 -c DatabaseServerImpl.cc
> In file included from /opt/omni/include/omniORB4/CORBA.h:442,
>                 from skeletons/DatabaseServer.hh:10,
>                 from DatabaseServerImpl.h:11,
>                 from DatabaseServerImpl.cc:3:
> /opt/omni/include/omniORB4/BiDirPolicy.h:56: parse error before `1'
> make[3]: *** [DatabaseServerImpl.o] Error 1

There is no '1' on that line. I suspect you have included a header
that #defines NORMAL to be 1 somewhere. Try rearranging you #include
order.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --