jart / blink

tiniest x86-64-linux emulator
ISC License
7.01k stars 225 forks source link

Four errors occurred while making. #12

Closed ghost closed 1 year ago

ghost commented 1 year ago

./blink/termios.h:9:16: error: ‘TIOCSETA’ undeclared (first use in this function); did you mean ‘TIOCMSET’? 9 | #define TCSETS TIOCSETA | ^~~~ ./blink/termios.h:6:16: error: ‘TIOCGETA’ undeclared (first use in this function); did you mean ‘TIOCMGET’? 6 | #define TCGETS TIOCGETA | ^~~~ ./blink/termios.h:12:17: error: ‘TIOCSETAW’ undeclared (first use in this function); did you mean ‘TCSETAW’? 12 | #define TCSETSW TIOCSETAW | ^~~~~ ./blink/termios.h:15:17: error: ‘TIOCSETAF’ undeclared (first use in this function); did you mean ‘TCSETAF’? 15 | #define TCSETSF TIOCSETAF | ^~~~~

jart commented 1 year ago

What operating system / platform are you using?

JoshuaWierenga commented 1 year ago

@Ender-ren-small This should be fixed now that blink doesn't use those ioctl constants. Does it work for you?

jart commented 1 year ago

Marking as fixed.