Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 224113

Summary: net-misc/kvpnc fails to compile with gcc-4.3.0
Product: Gentoo Linux Reporter: J. M. Gottfried <jmgottfried>
Component: [OLD] GCC PortingAssignee: Konstantin Arkhipov (RETIRED) <voxus>
Status: RESOLVED FIXED    
Severity: normal CC: ansla80, esigra, philipp.andreas
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: renaming of cuplicated parameter names in function declaration and added missing includes
modified patch

Description J. M. Gottfried 2008-05-29 18:04:26 UTC
trying to compile kvpnc with gcc-4.3.0 breaks with the following errors:

In file included from main.cpp:33:
kvpnc.h: At global scope:
kvpnc.h:80: error: multiple parameters named 'parent'
make[3]: *** [main.o] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge gcc-4.3.0
2. emerge net-misc/kvpnc
3. read error messages ;-)

Actual Results:  
Then error message mentioned above occurs.


I have created a patch to fix the problem.
Comment 1 J. M. Gottfried 2008-05-29 18:06:07 UTC
Created attachment 154719 [details, diff]
renaming of cuplicated parameter names in function declaration and added missing includes

This patch resolves the problems mentioned in the bugreport, kvpnc compiles fine after application.
Comment 2 Andreas Philipp 2008-07-17 09:55:51 UTC
Created attachment 160625 [details, diff]
modified patch

The patch did not work for me (it did not apply). I changed it and everything worked afterwards.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2008-11-15 20:07:58 UTC
Fixed, thanks.  The next upstream release already has these changes as well.