[gccsdk] ttystate constant missing?

Ron beeb at woosh.co.nz
Thu Feb 9 03:27:42 PST 2012


I have a compiler error with
static enum { RESET, RAW, CBREAK } ttystate = RESET;

It seems that RAW and CBREAK are defined in <sys/ioctl> but there is
nothing around for RESET.

It is in a terminal related file ttymodes.c, I dont know how important
it is, it may even be able to be left out of the library it is part of.

Thanks in advance,  Ron M. 




More information about the gcc mailing list