[omniNotify] Re: [omniORB] omniNotify compile error on 64 bits (Amd-Linux RHel3 /sparc-solaris2.8) platforms

Duncan Grisby duncan at grisby.org
Wed Jul 7 17:27:30 BST 2004


On Wednesday 7 July, "Frederic Prin" wrote:

> So, line 69 becomes: RDIstrstream& operator<<(long n);

[...]
> If you look 5 lines above in the same RDIstrstream.h, you have :
> RDIstrstream& operator<<(long n);
> That looks the same!
> 
> I'm afraid that, the compiler is not blind and that it really can't
> define this operator twice!

That's a minor bug in omniNotify. It needs to deal with the situation
that both types are the same, and only define the operator once. Just
comment out one of the duplicated entries (and the similar code where
the operator is implemented), and it should work.

Cheers,

Duncan.

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



More information about the omninotify-list mailing list