Package: freej
Version: 0.9.1+dl0-3
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://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of freej_0.9.1+dl0-3 on em64t by sbuild/amd64 0.53
...
> make[4]: Entering directory `/build/tbm/freej-0.9.1+dl0/lib/tbt'
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include   
>  -pipe -D_REENTRANT -O2 -fomit-frame-pointer -ffast-math -MT tbt.o -MD -MP 
> -MF ".deps/tbt.Tpo" -c -o tbt.o tbt.cpp; \
>       then mv -f ".deps/tbt.Tpo" ".deps/tbt.Po"; else rm -f ".deps/tbt.Tpo"; 
> exit 1; fi
> tbt.cpp: In constructor 'TBTEntry::TBTEntry()':
> tbt.cpp:40: warning: deprecated conversion from string constant to 'char*'
> tbt.cpp: In member function 'int TBTEntry::render_uint64(void*)':
> tbt.cpp:67: error: 'memcpy' was not declared in this scope
> tbt.cpp: In member function 'int TBTEntry::render_ascii(void*)':
> tbt.cpp:78: error: 'strerror' was not declared in this scope
> tbt.cpp:82: error: 'memcpy' was not declared in this scope
> tbt.cpp: In member function 'int TBTEntry::render_javascript(void*)':
> tbt.cpp:92: error: 'strerror' was not declared in this scope
> tbt.cpp:96: error: 'memcpy' was not declared in this scope
> tbt.cpp: In constructor 'TBT::TBT()':
> tbt.cpp:132: error: 'strerror' was not declared in this scope
> tbt.cpp: In member function 'void TBT::append(uint64_t)':
> tbt.cpp:157: error: 'strerror' was not declared in this scope
> tbt.cpp:163: error: 'memcpy' was not declared in this scope
> tbt.cpp: In member function 'uint64_t TBT::getkey()':
> tbt.cpp:183: warning: deprecated conversion from string constant to 'char*'
> tbt.cpp:193: error: 'strerror' was not declared in this scope
> tbt.cpp:199: error: 'memcpy' was not declared in this scope
> tbt.cpp: In member function 'int TBT::load(char*)':
> tbt.cpp:223: error: 'strerror' was not declared in this scope
> tbt.cpp:236: warning: deprecated conversion from string constant to 'char*'
> tbt.cpp:243: warning: deprecated conversion from string constant to 'char*'
> tbt.cpp:250: warning: deprecated conversion from string constant to 'char*'
> make[4]: *** [tbt.o] Error 1

-- 
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