g++ -D_REENTRANT -Wall -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -felide-constructors -c h235auth1.cxx -o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/h235auth1.o g++ -D_REENTRANT -Wall -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -felide-constructors -c ixjunix.cxx -o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o /var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h:839: error: extra qualification ‘OpalIxJDevice::’ on member ‘GetException’ make[1]: *** [/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/src' make: *** [opt] Error 2 !!! ERROR: net-libs/openh323-1.15.6 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile openh323-1.15.6.ebuild, line 66: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 84465 [details, diff] gcc4 + amd64 suggested patch The suggested patch removes the extra qualifier causing the error. In addition, there are a few void* -> int casts which cause errors on amd64. The patch also changes these casts to longs for good measure.
works perfectly, please apply and close this bug
Thanks, added the patch.
what's up? yesterday sync: h323pluginmgr.cxx: In member function ‘virtual void H323PluginCodecManager::OnLoadPlugin(PDynaLink&, INT)’: h323pluginmgr.cxx:1270: warning: dereferencing type-punned pointer will break strict-aliasing rules g++ -D_REENTRANT -Wall -fPIC -DPIC -DPASN_NOPRINTON -DPASN_LEANANDMEAN -I/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include -DHAS_OSS -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -felide-constructors -c ixjunix.cxx -o /mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o /mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/include/ixjlid.h:839: error: extra qualification ‘OpalIxJDevice::’ on member ‘GetException’ make[1]: *** [/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/lib/obj_linux_x86_rn/ixjunix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/openh323-1.15.6/work/openh323-1.15.6/src' make: *** [opt] Error 2