Package: kdesudo
Version: 2.0-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 kdesudo_2.0-1 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdesudo-2.0/./kdesudo -I.. 
> -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
> -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 
> -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
> -fno-exceptions -fno-check-new -fno-common  -c -o main.o 
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp
> In file included from /usr/include/kde/kurl.h:23,
>                  from /usr/include/kde/kcmdlineargs.h:23,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:21:
> /usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() 
> const':
> /usr/share/qt3/include/qstring.h:194: warning: conversion to 'char' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In member function 'void 
> QChar::setCell(uchar)':
> /usr/share/qt3/include/qstring.h:219: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In member function 'void 
> QChar::setRow(uchar)':
> /usr/share/qt3/include/qstring.h:220: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
> /usr/share/qt3/include/qstring.h:264: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In constructor 
> 'QStringData::QStringData(QChar*, uint, uint)':
> /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned 
> int:30' from 'uint' may alter its value
> /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned 
> int:30' from 'uint' may alter its value
> In file included from /usr/include/kde/kaboutdata.h:24,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:22:
> /usr/share/qt3/include/qimage.h: In member function 'bool 
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:58: warning: suggest parentheses around && 
> within ||
> In file included from /usr/share/qt3/include/qobject.h:45,
>                  from /usr/share/qt3/include/qwidget.h:43,
>                  from /usr/share/qt3/include/qdesktopwidget.h:40,
>                  from /usr/share/qt3/include/qapplication.h:42,
>                  from /usr/include/kde/kapplication.h:38,
>                  from /usr/include/kde/kapp.h:5,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/kdesudo.h:28,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:25:
> /usr/share/qt3/include/qevent.h: In member function 'void 
> QDropEvent::setAction(QDropEvent::Action)':
> /usr/share/qt3/include/qevent.h:520: warning: conversion to 'unsigned char' 
> from 'uint' may alter its value
> In file included from /usr/share/qt3/include/qwidget.h:49,
>                  from /usr/share/qt3/include/qdesktopwidget.h:40,
>                  from /usr/share/qt3/include/qapplication.h:42,
>                  from /usr/include/kde/kapplication.h:38,
>                  from /usr/include/kde/kapp.h:5,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/kdesudo.h:28,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:25:
> /usr/share/qt3/include/qsizepolicy.h: In member function 'void 
> QSizePolicy::transpose()':
> /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 
> 'uint' may alter its value
> /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 
> 'uint' may alter its value
> In file included from /usr/include/kde/klistbox.h:21,
>                  from /usr/include/kde/kjanuswidget.h:27,
>                  from /usr/include/kde/kdialogbase.h:27,
>                  from /usr/include/kde/kpassdlg.h:26,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/kdesudo.h:30,
>                  from /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:25:
> /usr/share/qt3/include/qlistbox.h: In member function 'int 
> QListBox::cellWidth() const':
> /usr/share/qt3/include/qlistbox.h:191: warning: conversion to 'int' from 
> 'long int' may alter its value
> /usr/share/qt3/include/qlistbox.h: In member function 'int 
> QListBox::cellWidth(int) const':
> /usr/share/qt3/include/qlistbox.h:192: warning: conversion to 'int' from 
> 'long int' may alter its value
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp: In function 'int main(int, 
> char**)':
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:122: error: 'atoi' was not declared 
> in this scope
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:123: warning: conversion to 'int' 
> from 'double' may alter its value
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:184: error: 'exit' was not declared 
> in this scope
> /build/tbm/kdesudo-2.0/./kdesudo/main.cpp:191: error: 'exit' was not declared 
> in this scope
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory 
> `/build/tbm/kdesudo-2.0/obj-x86_64-linux-gnu/kdesudo'
> make[2]: *** [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