Re: [orbitcpp-list] problems compiling orbitcpp-examples-0.2 with orbitcpp-0.30.4 under redhat 7
Status: Beta
Brought to you by:
philipd
|
From: Sam C. <sc...@bi...> - 2002-04-18 23:36:50
|
Marcus Rosell <mar...@de...> wrote:
> I changed the declaration of helloWorld in "helloworld-impl.hh", but:
You need to change it in helloworld-impl.cc as well. The declarations
must match.
> why can't the interface declaration of helloWorld in
> POA_hellomodule::Hello be overridden in derived class?
Because that's just how C++ is. The method has the same number and types
of arguments, which means you're talking about the exact same method.
That means return types and thrown exceptions must match exactly.
> v2.96, the one Redhat is shipping with.
> I know people says it's crappy, but somehow they have compiled the rest
> of the system with it :-)
I was just curious. It's a real bug, and other compilers should also
whinge about it but don't.
--=20
Sam "Eddie" Couter | mailto:sc...@bi...
Debian Developer | mailto:ed...@de...
| jabber:sa...@ja...
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
|