While emerging net-misc/knutclient-0.9.3: ... In file included from knutclient.h:29, from main.cpp:25: knutdock.h: At global scope: knutdock.h:325: error: multiple parameters named ‘x’ make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-misc/knutclient-0.9.3/work/knutclient-0.9.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/knutclient-0.9.3/work/knutclient-0.9.3' make: *** [all] Error 2 Looking at the relevant file (src/knutdock.h:325), the problem is evident: void paintNumbers (int numbers, int x, int x, QPainter* p ); //x,y levy horni roh cisla 1 There are two parameters called "x", which is now an error both in gcc and g++. The actual function definition is ok (from file src/knutdock.cpp:1018): void KNutDock::paintNumbers (int numbers, int x, int y, QPainter* p ) { I am including a patch to fix the problem.
One bug should be enough. *** This bug has been marked as a duplicate of bug 289987 ***
(In reply to comment #1) > One bug should be enough. > > *** This bug has been marked as a duplicate of bug 289987 *** > Humm didn't notice this, sorry. I received a server error from Bugzilla as I posted the original bug, that must have caused the duplicate. I've since emailed bugzilla@gentoo.org with the error page, as requested in the error message.