Open Odog1996 opened 5 years ago
I tried to skip the macro and just call the function like this:
serial/serial.h:471
Timeout (timeout)(inter_byte_timeout, read_timeout_constant,
read_timeout_multiplier, write_timeout_constant,
write_timeout_multiplier);
return setTimeout(timeout);
The Package seems then compile successfully.
Really random issue but when compiled through gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11),
serial/serial.h
must be included in the program beforencurses.h
otherwise the following build error occurs:/usr/local/include/serial/serial.h:471:45: error: macro "timeout" passed 5 arguments, but takes just 1
write_timeout_multiplier);