Package: diagnostics
Version: 0.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://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 diagnostics_0.2.1 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../../.. -DDEBUG__LEVEL__=2 -g -O2 
> -MT stream_test_system.lo -MD -MP -MF .deps/stream_test_system.Tpo -c 
> stream_test_system.cpp  -fPIC -DPIC -o .libs/stream_test_system.o
> stream_test_system.cpp: In constructor 
> 'diagnostics::unittest::Stream_Test_System_Implementation::Stream_Test_System_Implementation(diagnostics::Level_t,
>  int, const char* const*, const std::string&, const std::string&, 
> std::istream&, std::ostream&)':
> stream_test_system.cpp:142: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:144: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:145: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:146: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:151: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:152: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp: In member function 'int 
> diagnostics::unittest::Stream_Test_System_Implementation::run()':
> stream_test_system.cpp:386: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:400: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:404: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:408: error: 'strcmp' is not a member of 'std'
> stream_test_system.cpp:413: error: 'strcmp' is not a member of 'std'
> make[9]: *** [stream_test_system.lo] Error 1
> make[9]: Leaving directory 
> `/build/tbm/diagnostics-0.2.1/diagnostics/unittest/test_system'
> make[8]: *** [all-recursive] 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