[MacPorts] #66625: ttyd fails to build on Rosetta: error: unknown type name 'using'
MacPorts
noreply at macports.org
Wed Jan 4 23:06:54 UTC 2023
#66625: ttyd fails to build on Rosetta: error: unknown type name 'using'
-------------------------------------------+-------------------------
Reporter: barracuda156 | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: powerpc, rosetta, snowleopard | Port: ttyd
-------------------------------------------+-------------------------
Oops, something has broken down.
{{{
/opt/local/include/util.h:6:1: error: unknown type name 'using'
6 | using namespace std;
| ^~~~~
/opt/local/include/util.h:6:17: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'std'
6 | using namespace std;
| ^~~
/opt/local/include/util.h:8:10: fatal error: string: No such file or
directory
8 | #include <string>
| ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ttyd.dir/src/pty.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
}}}
Whose is this header, `/opt/local/include/util.h`?
--
Ticket URL: <https://trac.macports.org/ticket/66625>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list