mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
wksp_tool.cpp: In member function 'virtual wxString CWKSP_Tool::Get_Description()': wksp_tool.cpp:159:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)' if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) ^ In file included from ../saga_api/geo_tools.h:77:0, from ../saga_api/mat_tools.h:77, from ../saga_api/dataobject.h:84, from ../saga_api/table.h:77, from ../saga_api/grid.h:77, from ../saga_api/parameters.h:77, from ../saga_api/tool.h:76, from ../saga_api/tool_library.h:77, from ../saga_api/saga_api.h:118, from res_commands.h:78, from wksp_tool.cpp:67: ../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int) bool Open (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR); ^~~~ ../saga_api/api_core.h:955:13: note: no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&' wksp_tool.cpp:166:61: error: no matching function for call to 'CSG_File::Open(const wxScopedWCharBuffer, ESG_File_Flags_Open)' if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) ^ In file included from ../saga_api/geo_tools.h:77:0, from ../saga_api/mat_tools.h:77, from ../saga_api/dataobject.h:84, from ../saga_api/table.h:77, from ../saga_api/grid.h:77, from ../saga_api/parameters.h:77, from ../saga_api/tool.h:76, from ../saga_api/tool_library.h:77, from ../saga_api/saga_api.h:118, from res_commands.h:78, from wksp_tool.cpp:67: ../saga_api/api_core.h:955:13: note: candidate: bool CSG_File::Open(const CSG_String&, int, bool, int) bool Open (const CSG_String &File_Name, int Mode = SG_FILE_R, bool bBinary = true, int Encoding = SG_FILE_ENCODING_CHAR); ^~~~ ../saga_api/api_core.h:955:13: note: no known conversion for argument 1 from 'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to 'const CSG_String&' PR: 223758 Submitted by: rozhuk.im@gmail.com Obtained from: upstream Approved by: Rainer Hurling (maintainer) |
||
---|---|---|
.. | ||
patch-configure.ac | ||
patch-git_6e14443b30ce | ||
patch-src_saga__core_saga__cmd_saga__cmd.cpp | ||
patch-src_saga__core_saga__gui_dlg__about.cpp | ||
patch-src_tools_imagery_imagery__opencv_opencv.h | ||
patch-src_tools_imagery_imagery__svm_MLB__Interface.cpp | ||
patch-src_tools_imagery_imagery__svm_svm__grids.h | ||
pkg-message.in |