Summary: | net-libs/openh323-1.15.6 fails with gcc 4.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrizio Bassi <patrizio.bassi> |
Component: | [OLD] GCC Porting | Assignee: | Stefan Knoblich (RETIRED) <stkn> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: | gcc4 + amd64 suggested patch |
Description
Patrizio Bassi
2006-04-10 02:19:23 UTC
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 |