Package: gpsdrive
Version: 2.09-2.2
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).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.  I'll try to look into this problem but I don't know when
I'll have time.

> Automatic build of gpsdrive_2.09-2.2 on coconut0 by sbuild/ia64 0.49
...
>         -c -o garmin_serial_unix.o `test -f 'garmin_serial_unix.cpp' || echo 
> './'`garmin_serial_unix.cpp; \
>       then mv -f ".deps/garmin_serial_unix.Tpo" 
> ".deps/garmin_serial_unix.Po"; \
>       else rm -f ".deps/garmin_serial_unix.Tpo"; exit 1; \
>       fi
> In file included from garmin_serial_unix.cpp:25:
> /usr/include/sys/time.h:110: error: field 'it_interval' has incomplete type
> /usr/include/sys/time.h:112: error: field 'it_value' has incomplete type
> garmin_serial_unix.cpp: In member function 'void 
> garmin_serial::init(std::string, int)':
> garmin_serial_unix.cpp:59: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:70: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:76: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:86: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:90: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:104: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp: In member function 'virtual void 
> garmin_serial::putbyte(garmin::uint8)':
> garmin_serial_unix.cpp:118: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:120: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp: In member function 'virtual garmin::uint8 
> garmin_serial::getbyte()':
> garmin_serial_unix.cpp:132: error: 'fd_set' was not declared in this scope
> garmin_serial_unix.cpp:132: error: expected `;' before 'the_set'
> garmin_serial_unix.cpp:133: error: aggregate 'timeval tv' has incomplete type 
> and cannot be defined
> garmin_serial_unix.cpp:136: error: '__arr' was not declared in this scope
> garmin_serial_unix.cpp:136: error: 'the_set' was not declared in this scope
> garmin_serial_unix.cpp:136: error: '__fd_mask' was not declared in this scope
> garmin_serial_unix.cpp:137: error: 'the_set' was not declared in this scope
> garmin_serial_unix.cpp:149: error: 'select' was not declared in this scope
> garmin_serial_unix.cpp:151: warning: deprecated conversion from string 
> constant to 'char*'
> garmin_serial_unix.cpp:159: warning: deprecated conversion from string 
> constant to 'char*'
> make[3]: *** [garmin_serial_unix.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