[omniORB] ...must implement the inherited pure virtual method
mnl at mnl.de
Mon Nov 14 16:49:38 GMT 2011
thank you very much for your response. I'm using the calc.idl example
that I found on the net (appended). I didn't change anything in the
generated sources except for the things I mentioned (and the problem was
marked by the compiler from the beginning).
I'm using Ubuntu 11.10 which implies gcc 4.6.1 and omniorb 4.1.5.
I'll send you the generated sources with my changes in a separate mail.
Am 14.11.2011 15:43, schrieb Duncan Grisby:
> On Sat, 2011-11-12 at 00:36 +0100, Michael Lipp wrote:
>> I' following the example from the manual. I generated my code with
>> -Wpexample. However, the generated code cannot be compiled. After fixing
>> the obvious problems (include statement generated with <> instead of ""
>> for local header and missing "using namespace std") one bug remains: my
>> server class "must implement the inherited pure virtual method
>> I have seen that ServantBase provides a private implementation of
>> _do_get_interface'. But obviously this is not sufficient, as omniServant
>> declares this method as public.
> _do_get_interface is not something you need to implement. If the
> compiler thinks you do, something has gone wrong.
> What exactly have you done? You are right that some uses of the std
> namespace are missing, which you can fix with a using declaration, but
> aside from that the generated example code compiles fine for me.
> What was your input IDL? What platform? What compiler?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 133 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111114/c62a66da/calc.bin
More information about the omniORB-list