[MacPorts] #66896: gmtk @1.4.3_13: error: no matching constructor for initialization of 'GmtkPrintout'
MacPorts
noreply at macports.org
Sun Feb 12 01:44:58 UTC 2023
#66896: gmtk @1.4.3_13: error: no matching constructor for initialization of
'GmtkPrintout'
-------------------------+--------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: gmtk
-------------------------+--------------------
{{{
CXX gmtkViz-gmtkViz.o
gmtkViz.cc:2367:27: error: no matching constructor for initialization of
'GmtkPrintout'
new wxPrintPreview(new GmtkPrintout(curPage,
name),
^ ~~~~~~~~~~~~~
gmtkViz.cc:980:2: note: candidate constructor not viable: no known
conversion from 'wxString' to 'const wxChar *' (aka 'const wchar_t *') for
2nd argument
GmtkPrintout( StructPage *newPage,
^
gmtkViz.cc:977:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
class GmtkPrintout : public wxPrintout {
^
gmtkViz.cc:2368:11: error: no matching constructor for initialization of
'GmtkPrintout'
new GmtkPrintout(curPage,
name),
^
~~~~~~~~~~~~~
gmtkViz.cc:980:2: note: candidate constructor not viable: no known
conversion from 'wxString' to 'const wxChar *' (aka 'const wchar_t *') for
2nd argument
GmtkPrintout( StructPage *newPage,
^
gmtkViz.cc:977:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
class GmtkPrintout : public wxPrintout {
^
gmtkViz.cc:4236:16: error: no matching function for call to 'stat'
error_num = stat(strFile, &strFile_stat);
^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/sys/stat.h:386:9:
note: candidate function not viable: no known conversion from 'wxString'
to 'const char *' for 1st argument
int stat(const char *, struct stat *) __DARWIN_INODE64(stat);
^
gmtkViz.cc:4303:14: error: no matching constructor for initialization of
'FileParser'
fp = new FileParser(tempFileName,
cppCommandOptions);
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./GMTK_FileParser.h:361:3: note: candidate constructor not viable: no
known conversion from 'wxString' to 'const char *const' for 1st argument
FileParser(const char *const fileName,
^
./GMTK_FileParser.h:36:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
class FileParser : public IM
^
gmtkViz.cc:4322:15: error: no matching constructor for initialization of
'FileParser'
fp = new FileParser(tempFileName,
cppCommandOptions);
^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./GMTK_FileParser.h:361:3: note: candidate constructor not viable: no
known conversion from 'wxString' to 'const char *const' for 1st argument
FileParser(const char *const fileName,
^
./GMTK_FileParser.h:36:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
class FileParser : public IM
^
gmtkViz.cc:5893:9: warning: comparison of different enumeration types in
switch statement ('RVInfo::Type' and 'RVInfo::Disposition') [-Wenum-
compare-switch]
case RVInfo::d_observed:
^~~~~~~~~~~~~~~~~~
gmtkViz.cc:5890:9: warning: comparison of different enumeration types in
switch statement ('RVInfo::Type' and 'RVInfo::Disposition') [-Wenum-
compare-switch]
case RVInfo::d_hidden:
^~~~~~~~~~~~~~~~
gmtkViz.cc:9303:3: error: unknown type name 'wxwxPointListNode'
wxwxPointListNode *node = points->GetFirst();
^
2 warnings and 6 errors generated.
make[2]: *** [gmtkViz-gmtkViz.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3/tksrc'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3/tksrc'
make: *** [all-recursive] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gmtk/gmtk/work/gmtk-1.4.3"
&& /usr/bin/make -j16 -w all
Exit code: 2
Error: Failed to build gmtk: command execution failed
DEBUG: Error code: CHILDSTATUS 36234 2
}}}
I'm on Big Sur with Xcode 13.
--
Ticket URL: <https://trac.macports.org/ticket/66896>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list