Package: orbit2cpp
Version: 1.3.9-2.1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of orbit2cpp_1.3.9-2.1 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../../.. 
> -I../../.. -DVERSION=\"\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libIDL-2.0 
> -g -O2 -Wp,-MD,.deps/IDLArray.pp -c IDLArray.cc  -fPIC -DPIC -o 
> .libs/IDLArray.o
> IDLArray.cc:635:2: warning: #warning "WRITE ME"
> IDLArray.cc:754:2: warning: #warning "WRITE ME"
> IDLArray.cc:787:2: warning: #warning "WRITE ME"
> In file included from ../../../orbitcpp/idl-compiler/types.h:43,
>                  from ../../../orbitcpp/idl-compiler/pass.h:36,
>                  from IDLArray.cc:31:
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h: In constructor 
> 'IDLInhibited<Base>::IDLInhibited(_IDL_tree_node*)':
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h:56: error: there are no 
> arguments to 'strlen' that depend on a template parameter, so a declaration 
> of 'strlen' must be available
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h:56: error: (if you use 
> '-fpermissive', G++ will accept your code, but allowing the use of an 
> undeclared name is deprecated)
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h: In constructor 
> 'IDLInhibited<Base>::IDLInhibited(_IDL_tree_node*) [with Base = 
> IDLStructBase]':
> ../../../orbitcpp/idl-compiler/types/IDLStruct.h:173:   instantiated from here
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h:56: error: 'strlen' was 
> not declared in this scope
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h: In constructor 
> 'IDLInhibited<Base>::IDLInhibited(_IDL_tree_node*) [with Base = 
> IDLInterfaceBase]':
> ../../../orbitcpp/idl-compiler/types/IDLException.h:55:   instantiated from 
> here
> ../../../orbitcpp/idl-compiler/types/IDLInhibited.h:56: error: 'strlen' was 
> not declared in this scope
> make[5]: *** [IDLArray.lo] Error 1
> make[5]: Leaving directory 
> `/build/tbm/orbit2cpp-1.3.9/orbitcpp/idl-compiler/types'

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to