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

Martin Michlmayr tbm at cyrius.com
Tue Dec 11 03:55:45 UTC 2007


Package: kvpnc
Version: 0.8.9-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 kvpnc_0.8.9-1 on em64t by sbuild/amd64 0.53
...
> /usr/include/kde/kedittoolbar.h: At global scope:
> /usr/include/kde/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has a field 'KEditToolbarWidget::m_inactiveList' whose type uses the anonymous namespace
> /usr/include/kde/kedittoolbar.h:271: warning: 'KEditToolbarWidget' has a field 'KEditToolbarWidget::m_activeList' whose type uses the anonymous namespace
> In file included from kvpnc.cpp:87:
> kvpnc.h:80: error: multiple parameters named 'parent'
> kvpnc.cpp: In member function 'void KVpnc::connectClicked()':
> kvpnc.cpp:1752: warning: suggest parentheses around && within ||
> kvpnc.cpp:2056: warning: suggest parentheses around && within ||
> kvpnc.cpp:2678: warning: suggest parentheses around && within ||

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





More information about the pkg-kde-extras mailing list