Package: klamav
Version: 0.38-1.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://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of klamav_0.38-1.1 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde 
> -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
> -fno-check-new -fno-common  -MT schedule.o -MD -MP -MF ".deps/schedule.Tpo" 
> -c -o schedule.o schedule.cpp; \
>       then mv -f ".deps/schedule.Tpo" ".deps/schedule.Po"; else rm -f 
> ".deps/schedule.Tpo"; exit 1; fi
> In file included from /usr/share/qt3/include/qvariant.h:42,
>                  from schedule.h:8,
>                  from schedule.cpp:5:
> /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/share/qt3/include/qobject.h:45,
>                  from /usr/share/qt3/include/qwidget.h:43,
>                  from /usr/share/qt3/include/qdialog.h:42,
>                  from schedule.h:9,
>                  from schedule.cpp:5:
> /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/qdialog.h:42,
>                  from schedule.h:9,
>                  from schedule.cpp:5:
> /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 ctunit.h:156,
>                  from ctmonth.h:18,
>                  from cttask.h:20,
>                  from schedule.h:21,
>                  from schedule.cpp:5:
> ctunit.cpp: In member function 'int CTUnit<min, 
> max>::fieldToValue(std::string) const':
> ctunit.cpp:317: error: there are no arguments to 'atoi' that depend on a 
> template parameter, so a declaration of 'atoi' must be available
> ctunit.cpp:317: error: (if you use '-fpermissive', G++ will accept your code, 
> but allowing the use of an undeclared name is deprecated)

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