[Pkg-ace-devel] Bug#243062: libtao-dev: tao_idl generates wrong stub

Alexander N. Kogan "Alexander N. Kogan" <alexander@kogan.nnov.ru>, 243062@bugs.debian.org
Sat, 10 Apr 2004 22:50:40 +0400


Package: libtao-dev
Version: 5.4.0.1-1
Severity: normal
Tags: sid

Hi!

tao_idl generate stub that can't be compiled for the following IDL:

typedef octet OctetType;

interface T {
    void test( in OctetType arg );
};

$ tao_idl test.idl
$ g++ -c testC.cpp
testC.cpp: In member function `virtual void T::test(unsigned char)':
testC.cpp:160: error: `in_arg_val' is not a member of type
		      `TAO::Arg_Traits<OctetType>'
testC.cpp:160: error: parse error before `(' token
testC.cpp:166: error: `_tao_arg' undeclared (first use this function)
testC.cpp:166: error: (Each undeclared identifier is reported only once for
	              each function it appears in.)

If I change method definition to 
    void test( in octet arg );
everything is ok.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

Versions of packages libtao-dev depends on:
ii  libace-dev                  5.4.0.1-1    An Object-Oriented Network Program
ii  libace5.4                   5.4.0.1-1    An Object-Oriented Network Program
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libc6-dev                   2.3.2.ds1-11 GNU C Library: Development Librari
ii  libgcc1                     1:3.3.3-6    GCC support library
ii  libstdc++5                  1:3.3.3-6    The GNU Standard C++ Library v3
ii  libtao-orbsvcs1.4           5.4.0.1-1    The ACE ORB, an open-source implem
ii  libtao1.4                   5.4.0.1-1    The ACE ORB, an open-source implem
ii  xlibs                       4.3.0-7      X Window System client libraries m

-- no debconf information

--
Alexander Kogan
Auto Wave Processes Group
Institute of Applied Physics RAS