Hi Arthur, I tried to build your project, but it failed for me:

termbox2.h:2209:22: error: storage size of 'sa' isn't known
termbox2.h:2345:46: error: 'struct sigaction' has no member named 'sa_handler' termbox2.h:2345:44: error: invalid use of undefined type 'struct sigaction'

All the best,
Dan

termbox2.h is not C99 compliant, yet the -std=c99 compilation flag is
set in the default configuration. On the compilers I tried, it has not
been a problem as the non-C99 parts were ignored, but I shouldn't have
assumed it would always be this way. Sorry for the annoyance.

I removed the -std=c99 flag in the upstream, until I patch termbox2.h
for full C99 compliance. You can either pull the upstream or delete
the flag manually in config.mk.

If deleting the flag is not enough, please let me know. Otherwise,
happy editing ;)

Arthur





Reply via email to