Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134976 - [gcc-4.1] rapidsvn-0.9.2 fails to compile with gcc-4.1.1, extra qualifications
Summary: [gcc-4.1] rapidsvn-0.9.2 fails to compile with gcc-4.1.1, extra qualifications
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-05-30 17:48 UTC by Gergan Penkov
Modified: 2006-06-01 23:07 UTC (History)
1 user (show)

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


Attachments
gcc-fix.patch (gcc-fix.patch,735 bytes, patch)
2006-05-30 17:52 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gergan Penkov 2006-05-30 17:48:45 UTC
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BU
GREPORT=\"\" -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_
DLFCN_H=1  -I. -I.   -Wall -g -fexceptions -I/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/include   -DLINUX=2 -D_REENT
RANT -D_GNU_SOURCE  -I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include/db4.2 -I/usr/include/neon -D_LARGEFILE64_SOURC
E -DNE_LFS -I/usr/include/subversion-1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CA
STS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -march=athlon-xp -O2 -pipe -Wall -g -fexceptions -I/us
r/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LA
RGE_FILES -DNO_GCC_PRAGMA   -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.cpp; \
        then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
/usr/include/wx-2.6/wx/hashmap.h: In member function 
Comment 1 Gergan Penkov 2006-05-30 17:48:45 UTC
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BU
GREPORT=\"\" -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_
DLFCN_H=1  -I. -I.   -Wall -g -fexceptions -I/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/include   -DLINUX=2 -D_REENT
RANT -D_GNU_SOURCE  -I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include/db4.2 -I/usr/include/neon -D_LARGEFILE64_SOURC
E -DNE_LFS -I/usr/include/subversion-1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CA
STS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -march=athlon-xp -O2 -pipe -Wall -g -fexceptions -I/us
r/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LA
RGE_FILES -DNO_GCC_PRAGMA   -MT action.o -MD -MP -MF ".deps/action.Tpo" -c -o action.o action.cpp; \
        then mv -f ".deps/action.Tpo" ".deps/action.Po"; else rm -f ".deps/action.Tpo"; exit 1; fi
/usr/include/wx-2.6/wx/hashmap.h: In member function wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHash
Map_wxImplementation_HashTable::GetNodePtr(const long int&) const:
/usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjec
tMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObject
Fields_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/gdicmn.h: In member function wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToCol
ourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/image.h: In member function wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramB
ase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const:
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
action.hpp: At global scope:
action.hpp:304: error: extra qualification Action:: on member GetPathAsTempFile
make[2]: *** [action.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/src'
make: *** [all-recursive] Error 1
and one more :
if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BU
GREPORT=\"\" -DPACKAGE=\"rapidsvn\" -DVERSION=\"0.9.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL
IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_
DLFCN_H=1  -I. -I.   -Wall -g -fexceptions -I/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/include   -DLINUX=2 -D_REENT
RANT -D_GNU_SOURCE  -I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include/db4.2 -I/usr/include/neon -D_LARGEFILE64_SOURC
E -DNE_LFS -I/usr/include/subversion-1 -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CA
STS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -march=athlon-xp -O2 -pipe -Wall -g -fexceptions -I/us
r/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LA
RGE_FILES -DNO_GCC_PRAGMA   -MT preferences_dlg.o -MD -MP -MF ".deps/preferences_dlg.Tpo" -c -o preferences_dlg.o preferences
_dlg.cpp; \
        then mv -f ".deps/preferences_dlg.Tpo" ".deps/preferences_dlg.Po"; else rm -f ".deps/preferences_dlg.Tpo"; exit 1; fi
/usr/include/wx-2.6/wx/hashmap.h: In member function wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHash
Map_wxImplementation_HashTable::GetNodePtr(const long int&) const:
/usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjec
tMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObject
Fields_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/gdicmn.h: In member function wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToCol
ourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const:
/usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/image.h: In member function wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramB
ase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const:
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned pointer will break strict-aliasing rules
preferences_dlg.cpp: At global scope:
preferences_dlg.cpp:97: error: extra qualification ProgramsPanel:: on member ProgramsPanel
make[2]: *** [preferences_dlg.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.2/work/rapidsvn-0.9.2/src'
make: *** [all-recursive] Error 1
I'll upload a patch - it simply removes the extra qualifications from the declarations, which obviously in this gcc release are errors.
Comment 2 Gergan Penkov 2006-05-30 17:52:35 UTC
Created attachment 87926 [details, diff]
gcc-fix.patch

remove the extra qualifications
Comment 3 Steve Arnold archtester gentoo-dev 2006-06-01 23:07:22 UTC
Thanks; fixed.