[omniORB] Compiling OmniORB with VC8

Tom Pham tpham at seismicmicro.com
Tue Oct 11 12:31:53 BST 2005


That fixes it, thanks! VC7 and VC8 do not like inline friends.

Regards,
Tom

-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Tuesday, October 11, 2005 10:03 AM
To: Tom Pham
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] Compiling OmniORB with VC8 


On Tuesday 11 October, "Tom Pham" wrote:

> It seems that the VC8 compiler is stricter than the VC7 compiler.
> The build failed while trying to build orbcore.  This is a snippet of
> the error message regarding 'operator >>=', the compiler cannot find
> an overloaded version that takes '(CORBA::ULong, cdrStream)':

Try changing line 215 of include/omniORB4/CORBA_sysdep.h to use >=
rather than == for its version test:

#  if (_MSC_VER >= 1310)
#    define OMNI_NO_INLINE_FRIENDS
#  endif

Cheers,

Duncan.

-- 

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



More information about the omniORB-list mailing list