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: *** [main.o] Error 1
Steps to Reproduce:
1. emerge gcc-4.3.0
2. emerge net-misc/kvpnc
3. read error messages ;-)
Then error message mentioned above occurs.
I have created a patch to fix the problem.
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.
Created attachment 160625 [details, diff]
The patch did not work for me (it did not apply). I changed it and everything worked afterwards.
Fixed, thanks. The next upstream release already has these changes as well.