[Pkg-kde-extras] Bug#455675: FTBFS with GCC 4.3: duplicate function parameters

Martin Michlmayr tbm at cyrius.com
Tue Dec 11 04:06:42 UTC 2007


Package: kmymoney2
Version: 0.8.7-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.  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 kmymoney2_0.8.7-2 on em64t by sbuild/amd64 0.53
...
> ../../kmymoney/mymoneyreport.h:207: warning: type qualifiers ignored on function return type
> ../../kmymoney/mymoneyreport.h:219: warning: type qualifiers ignored on function return type
> In file included from /build/tbm/kmymoney2-0.8.7/./kmymoney2/widgets/../mymoney/mymoneyfile.h:34,
>                  from /build/tbm/kmymoney2-0.8.7/./kmymoney2/widgets/kmymoneyregisterinvestment.cpp:35:
> ../../kmymoney/imymoneystorage.h:82: error: multiple parameters named 'key'
> ../../kmymoney/imymoneystorage.h:91: warning: type qualifiers ignored on function return type
> ../../kmymoney/imymoneystorage.h:204: warning: type qualifiers ignored on function return type

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the pkg-kde-extras mailing list