Opened 21 months ago
Last modified 21 months ago
#66625 assigned defect
ttyd fails to build on Rosetta: error: unknown type name 'using'
Reported by: | barracuda156 | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | powerpc, rosetta, snowleopard | Cc: | |
Port: | ttyd |
Description
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
?
Attachments (1)
Change History (3)
comment:1 follow-up: 2 Changed 21 months ago by jmroot (Joshua Root)
Changed 21 months ago by barracuda156
comment:2 Changed 21 months ago by barracuda156
Replying to jmroot:
Replying to barracuda156:
Whose is this header,
/opt/local/include/util.h
?Use
port provides
to check. Probably doesn't matter that much though; the issue is likely-I
flags ordered incorrectly (external before internal), but it's hard to know since you didn't attach the log.
Sorry, attached it now.
Note: See
TracTickets for help on using
tickets.
Replying to barracuda156:
Use
port provides
to check. Probably doesn't matter that much though; the issue is likely-I
flags ordered incorrectly (external before internal), but it's hard to know since you didn't attach the log.