Package: mousetrap
Version: 0.9-1
Severity: important
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 mousetrap_0.9-1 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT mousetrap.o -MD -MP -MF 
> ".deps/mousetrap.Tpo" -c -o mousetrap.o mousetrap.cpp; \
>       then mv -f ".deps/mousetrap.Tpo" ".deps/mousetrap.Po"; else rm -f 
> ".deps/mousetrap.Tpo"; exit 1; fi
> mousetrap.cpp: In function 'SDL_Surface* loadImage(char*)':
> mousetrap.cpp:107: error: 'F_OK' was not declared in this scope
> mousetrap.cpp:107: error: 'access' was not declared in this scope
> mousetrap.cpp: In function 'int main(int, char**)':
> mousetrap.cpp:346: error: 'time' was not declared in this scope
> mousetrap.cpp:358: warning: deprecated conversion from string constant to 
> 'char*'
> mousetrap.cpp:367: warning: deprecated conversion from string constant to 
> 'char*'
> mousetrap.cpp:373: warning: deprecated conversion from string constant to 
> 'char*'
> make[4]: *** [mousetrap.o] Error 1
> make[4]: Leaving directory `/build/tbm/mousetrap-0.9/src'

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