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

Martin Michlmayr tbm at cyrius.com
Sun Dec 9 18:04:43 UTC 2007


Package: krecipes
Version: 1.0~beta1-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 krecipes_1.0~beta1-1 on em64t by sbuild/amd64 0.53
...
> In file included from /build/tbm/krecipes-1.0~beta1/./krecipes/src/backends/recipedb.cpp:39:
> /build/tbm/krecipes-1.0~beta1/./krecipes/src/backends/../importers/kreimporter.h: At global scope:
> /build/tbm/krecipes-1.0~beta1/./krecipes/src/backends/../importers/kreimporter.h:49: error: multiple parameters named 'amount'
> /build/tbm/krecipes-1.0~beta1/./krecipes/src/backends/recipedb.cpp: In member function 'void RecipeDB::processDumpOutput(KProcess*, char*, int)':

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





More information about the pkg-kde-extras mailing list