Package: piklab
Version: 0.15.0-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.  GCC 4.3 now prints an error
message when C++ code contains duplicate function parameter names in
function prototypes, see
http://www.cyrius.com/journal/2007/12/07#gcc-4.3-multiple-params

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 piklab_0.15.0-1 on em64t by sbuild/amd64 0.53
...
> if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile 
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src 
> -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 -DQT_CLEAN_NAMESPACE 
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT 
> pickit2_data.lo -MD -MP -MF ".deps/pickit2_data.Tpo" -c -o pickit2_data.lo 
> pickit2_data.cpp; \
>       then mv -f ".deps/pickit2_data.Tpo" ".deps/pickit2_data.Plo"; else rm 
> -f ".deps/pickit2_data.Tpo"; exit 1; fi
> In file included from /usr/share/qt3/include/qtextstream.h:43,
>                  from /usr/share/qt3/include/qtl.h:43,
>                  from /usr/share/qt3/include/qvaluelist.h:42,
>                  from /usr/share/qt3/include/qstringlist.h:42,
>                  from ../../../../src/devices/base/generic_device.h:12,
>                  from ../../../../src/devices/list/device_list.h:12,
>                  from pickit2_data.cpp:3:
> /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/qdesktopwidget.h:40,
>                  from /usr/share/qt3/include/qapplication.h:42,
>                  from ../../../../src/common/global/global.h:15,
>                  from ../../../../src/common/common/misc.h:13,
>                  from ../../../../src/devices/base/generic_device.h:14,
>                  from ../../../../src/devices/list/device_list.h:12,
>                  from pickit2_data.cpp:3:
> /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 ../../../../src/common/global/global.h:15,
>                  from ../../../../src/common/common/misc.h:13,
>                  from ../../../../src/devices/base/generic_device.h:14,
>                  from ../../../../src/devices/list/device_list.h:12,
>                  from pickit2_data.cpp:3:
> /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/kaboutdata.h:24,
>                  from ../../../../src/common/global/global.h:51,
>                  from ../../../../src/common/common/misc.h:13,
>                  from ../../../../src/devices/base/generic_device.h:14,
>                  from ../../../../src/devices/list/device_list.h:12,
>                  from pickit2_data.cpp:3:
> /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 ../../../../src/devices/base/generic_device.h:15,
>                  from ../../../../src/devices/list/device_list.h:12,
>                  from pickit2_data.cpp:3:
> ../../../../src/common/common/bitvalue.h: In member function 'uchar 
> GenericValue::nybble(uint) const':
> ../../../../src/common/common/bitvalue.h:29: warning: conversion to 'uchar' 
> from 'unsigned int' may alter its value
> ../../../../src/common/common/bitvalue.h: In member function 'uchar 
> GenericValue::byte(uint) const':
> ../../../../src/common/common/bitvalue.h:30: warning: conversion to 'uchar' 
> from 'unsigned int' may alter its value
> In file included from pickit2_data.cpp:4:
> pickit2.h: At global scope:
> pickit2.h:30: error: multiple parameters named 'cmd'
> pickit2.h: In member function 'bool 
> Pickit2::USBPort::resetFirmwareDevice(Programmer::Mode)':
> pickit2.h:38: warning: conversion to 'uchar' from 'int' may alter its value
> /usr/share/qt3/include/qmemarray.h: In constructor 
> 'QMemArray<type>::QMemArray(int) [with type = BitValue]':
> ../../../../src/devices/base/generic_device.h:95:   instantiated from here
> /usr/share/qt3/include/qmemarray.h:59: warning: conversion to 'int' from 
> 'long unsigned int' may alter its value
> /usr/share/qt3/include/qmemarray.h: In member function 'bool 
> QMemArray<type>::resize(uint) [with type = BitValue]':
> ../../../../src/devices/base/generic_device.h:101:   instantiated from here
> /usr/share/qt3/include/qmemarray.h:70: warning: conversion to 'uint' from 
> 'long unsigned int' may alter its value
> /usr/share/qt3/include/qmemarray.h: In member function 'type& 
> QMemArray<type>::operator[](int) const [with type = BitValue]':
> ../../../../src/devices/base/generic_device.h:104:   instantiated from here
> /usr/share/qt3/include/qmemarray.h:100: warning: conversion to 'uint' from 
> 'long unsigned int' may alter its value
> ../../../../src/common/common/misc.h: In member function 'bool 
> GenericRangeVector<Type, RangeType>::isEmpty() const [with Type = Address, 
> RangeType = AddressRange]':
> ../../../../src/devices/pic/pic/pic_memory.h:42:   instantiated from here
> ../../../../src/common/common/misc.h:99: warning: conversion to 'uint' from 
> 'size_t' may alter its value
> make[6]: *** [pickit2_data.lo] Error 1
> make[6]: Leaving directory `/build/tbm/piklab-0.15.0/src/progs/pickit2/base'
> make[5]: *** [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