Opened 5 months ago
#70112 new defect
saga build failure: error: 'bool CSG_Table_Record::Set_Value(const CSG_String&, DWORD)' cannot be overloaded with 'bool CSG_Table_Record::Set_Value(const CSG_String&, size_t)'
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | Veence (Vincent), nilason (Nicklas Larsson) | |
Port: | saga |
Description
:info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build/src/saga_core/saga_api && /opt/local/bin/g++-mp-13 -DSHARE_PATH=\"/opt/local/share/saga\" -DTOOLS_PATH=\"/opt/local/lib/saga\" -DWITH_LIFETIME_TRACKER -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_SAGA_API_EXPORTS -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D__WXGTK__ -Dsaga_api_EXPORTS -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/lib/wx/include/gtk3-unicode-3.0 -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/include/wx-3.0 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++17 -arch ppc -mmacosx-version-min=10.6 -fPIC -fPIC -Wall -MD -MT src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_memory.cpp.o -MF CMakeFiles/saga_api.dir/api_memory.cpp.o.d -o CMakeFiles/saga_api.dir/api_memory.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/api_memory.cpp :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/api_colors.cpp:57: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:822:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Minority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 822 | virtual int Get_Minority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:861:49: note: by 'CSG_Unique_Number_Statistics::Get_Minority' :info:build 861 | bool Get_Minority (double &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Minority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:821:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Majority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 821 | virtual int Get_Majority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:859:49: note: by 'CSG_Unique_Number_Statistics::Get_Majority' :info:build 859 | bool Get_Majority (double &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Majority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:822:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Minority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 822 | virtual int Get_Minority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:896:49: note: by 'CSG_Unique_String_Statistics::Get_Minority' :info:build 896 | bool Get_Minority (CSG_String &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Minority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:821:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Majority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 821 | virtual int Get_Majority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:894:49: note: by 'CSG_Unique_String_Statistics::Get_Majority' :info:build 894 | bool Get_Majority (CSG_String &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Majority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/dataobject.h:78, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:81, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/grid.h:77, :info:build from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/api_callback.cpp:57: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:822:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Minority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 822 | virtual int Get_Minority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:861:49: note: by 'CSG_Unique_Number_Statistics::Get_Minority' :info:build 861 | bool Get_Minority (double &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Minority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:821:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Majority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 821 | virtual int Get_Majority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:859:49: note: by 'CSG_Unique_Number_Statistics::Get_Majority' :info:build 859 | bool Get_Majority (double &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Majority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:822:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Minority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 822 | virtual int Get_Minority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:896:49: note: by 'CSG_Unique_String_Statistics::Get_Minority' :info:build 896 | bool Get_Minority (CSG_String &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Minority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:821:49: warning: 'virtual int CSG_Unique_Value_Statistics::Get_Majority(bool) const' was hidden [-Woverloaded-virtual=] :info:build 821 | virtual int Get_Majority (bool bWeighted = false) const; :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/mat_tools.h:894:49: note: by 'CSG_Unique_String_Statistics::Get_Majority' :info:build 894 | bool Get_Majority (CSG_String &Value, int &Count) const { return( Get_Class(CSG_Unique_Value_Statistics::Get_Majority(), Value, Count) && Count > 0 ); } :info:build | ^~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:167:57: error: 'bool CSG_Table_Record::Set_Value(int, DWORD)' cannot be overloaded with 'bool CSG_Table_Record::Set_Value(int, size_t)' :info:build 167 | bool Set_Value (int Field, DWORD Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:162:57: note: previous declaration 'bool CSG_Table_Record::Set_Value(int, size_t)' :info:build 162 | bool Set_Value (int Field, size_t Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:168:57: error: 'bool CSG_Table_Record::Set_Value(const CSG_String&, DWORD)' cannot be overloaded with 'bool CSG_Table_Record::Set_Value(const CSG_String&, size_t)' :info:build 168 | bool Set_Value (const CSG_String &Field, DWORD Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:163:57: note: previous declaration 'bool CSG_Table_Record::Set_Value(const CSG_String&, size_t)' :info:build 163 | bool Set_Value (const CSG_String &Field, size_t Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:169:57: error: 'bool CSG_Table_Record::Set_Value(const char*, DWORD)' cannot be overloaded with 'bool CSG_Table_Record::Set_Value(const char*, size_t)' :info:build 169 | bool Set_Value (const char *Field, DWORD Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:164:57: note: previous declaration 'bool CSG_Table_Record::Set_Value(const char*, size_t)' :info:build 164 | bool Set_Value (const char *Field, size_t Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:170:57: error: 'bool CSG_Table_Record::Set_Value(const wchar_t*, DWORD)' cannot be overloaded with 'bool CSG_Table_Record::Set_Value(const wchar_t*, size_t)' :info:build 170 | bool Set_Value (const wchar_t *Field, DWORD Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/table.h:165:57: note: previous declaration 'bool CSG_Table_Record::Set_Value(const wchar_t*, size_t)' :info:build 165 | bool Set_Value (const wchar_t *Field, size_t Value) { return( Set_Value(Field, (double)Value) ); } :info:build | ^~~~~~~~~ :info:build [ 4%] Building CXX object src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_string.cpp.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build/src/saga_core/saga_api && /opt/local/bin/g++-mp-13 -DSHARE_PATH=\"/opt/local/share/saga\" -DTOOLS_PATH=\"/opt/local/lib/saga\" -DWITH_LIFETIME_TRACKER -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_SAGA_API_EXPORTS -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D__WXGTK__ -Dsaga_api_EXPORTS -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/lib/wx/include/gtk3-unicode-3.0 -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/include/wx-3.0 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++17 -arch ppc -mmacosx-version-min=10.6 -fPIC -fPIC -Wall -MD -MT src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_string.cpp.o -MF CMakeFiles/saga_api.dir/api_string.cpp.o.d -o CMakeFiles/saga_api.dir/api_string.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/api_string.cpp :info:build [ 4%] Building CXX object src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_translator.cpp.o :info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build/src/saga_core/saga_api && /opt/local/bin/g++-mp-13 -DSHARE_PATH=\"/opt/local/share/saga\" -DTOOLS_PATH=\"/opt/local/lib/saga\" -DWITH_LIFETIME_TRACKER -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_SAGA_API_EXPORTS -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D__WXGTK__ -Dsaga_api_EXPORTS -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/lib/wx/include/gtk3-unicode-3.0 -isystem /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/3.0-cxx11/include/wx-3.0 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=gnu++17 -arch ppc -mmacosx-version-min=10.6 -fPIC -fPIC -Wall -MD -MT src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_translator.cpp.o -MF CMakeFiles/saga_api.dir/api_translator.cpp.o.d -o CMakeFiles/saga_api.dir/api_translator.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_gis_saga/saga/work/saga-9.4.0/saga-gis/src/saga_core/saga_api/api_translator.cpp :info:build make[2]: *** [src/saga_core/saga_api/CMakeFiles/saga_api.dir/api_callback.cpp.o] Error 1
I turned off OpenCV in the portfile, obviously, since it is broken on legacy OS, and switched to use wxGTK-3.0-cxx, but this error looks unrelated to either.
Note: See
TracTickets for help on using
tickets.