Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 00:22:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223758] math/saga: fail build with wxgtk30 - 3.0.3.1
Message-ID:  <bug-223758-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223758

            Bug ID: 223758
           Summary: math/saga: fail build with wxgtk30 - 3.0.3.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
                CC: rhurlin@gwdg.de
             Flags: maintainer-feedback?(rhurlin@gwdg.de)
                CC: rhurlin@gwdg.de

...
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 =3D SG_FILE_R, =
bool
bBinary =3D true, int Encoding =3D SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 f=
rom
'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 =3D SG_FILE_R, =
bool
bBinary =3D true, int Encoding =3D SG_FILE_ENCODING_CHAR);
             ^~~~
../saga_api/api_core.h:955:13: note:   no known conversion for argument 1 f=
rom
'const wxScopedWCharBuffer {aka const wxScopedCharTypeBuffer<wchar_t>}' to
'const CSG_String&'
*** Error code 1
...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223758-13>