Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224113 - net-misc/kvpnc fails to compile with gcc-4.3.0
Summary: net-misc/kvpnc fails to compile with gcc-4.3.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2008-05-29 18:04 UTC by J. M. Gottfried
Modified: 2008-11-15 20:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

renaming of cuplicated parameter names in function declaration and added missing includes (kvpnc-0.9.0-gcc43.patch,658 bytes, patch)
2008-05-29 18:06 UTC, J. M. Gottfried
Details | Diff
modified patch (kvpnc-0.9.0-gcc43.patch,664 bytes, patch)
2008-07-17 09:55 UTC, Andreas Philipp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.