[omniORB] Bug in omniidl C++ backend ?

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Oct 25 14:03:06 BST 2010


  I've got a few problems with the C++ code generated for IDLs where 
modules are reopened. I could not find a pattern in the problem, so I 
attached a test case which is a bit big ... Sorry.

The compilation error is:
visual_servoingToolkitDynSK.cpp: In function ‘void 
operator<<=(CORBA::Any&, const 
orogen::wrappers::Corba::MotionCommandDebug&)’:
visual_servoingToolkitDynSK.cpp:383: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mMotionCommandDebug’ was not declared 
in this scope
visual_servoingToolkitDynSK.cpp: In function ‘void 
operator<<=(CORBA::Any&, orogen::wrappers::Corba::MotionCommandDebug*)’:
visual_servoingToolkitDynSK.cpp:390: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mMotionCommandDebug’ was not declared 
in this scope
visual_servoingToolkitDynSK.cpp: In function ‘CORBA::Boolean 
operator>>=(const CORBA::Any&, const 
orogen::wrappers::Corba::MotionCommandDebug*&)’:
visual_servoingToolkitDynSK.cpp:403: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mMotionCommandDebug’ was not declared 
in this scope
visual_servoingToolkitDynSK.cpp: In function ‘void 
operator<<=(CORBA::Any&, const 
orogen::wrappers::Corba::SlopeBinSegmenterDebugData&)’:
visual_servoingToolkitDynSK.cpp:434: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mSlopeBinSegmenterDebugData’ was not 
declared in this scope
visual_servoingToolkitDynSK.cpp: In function ‘void 
operator<<=(CORBA::Any&, 
orogen::wrappers::Corba::SlopeBinSegmenterDebugData*)’:
visual_servoingToolkitDynSK.cpp:441: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mSlopeBinSegmenterDebugData’ was not 
declared in this scope
visual_servoingToolkitDynSK.cpp: In function ‘CORBA::Boolean 
operator>>=(const CORBA::Any&, const 
orogen::wrappers::Corba::SlopeBinSegmenterDebugData*&)’:
visual_servoingToolkitDynSK.cpp:454: error: 
‘_0RL_tc_orogen_mwrappers_mCorba_mSlopeBinSegmenterDebugData’ was not 
declared in this scope

You can reproduce by un-tarring the attachment and do

make
make visual_servoingDynSK.o

omniidl -V says
omniidl version 1.0

I am running the omniorb 4.1.3 packages on Debian unstable.

-- 
Sylvain Joyeux
Space&  Security Robotics

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 218-64136
Fax:   +49 (0)421 218-64150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniorb_idl_problem.tar.bz2
Type: application/x-bzip
Size: 8914 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20101025/f19bfe6d/omniorb_idl_problem.tar.bin


More information about the omniORB-list mailing list