====
../utils/fastintfns.h:5:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmax( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:5:43: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmax( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:10:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmin( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:10:43: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmin( register int x, register int y ) ^~~~~~~~~ In file included from ratectl.cc:57: ../utils/fastintfns.h:5:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmax( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:5:43: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmax( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:10:27: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmin( register int x, register int y ) ^~~~~~~~~ ../utils/fastintfns.h:10:43: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] static inline int intmin( register int x, register int y )
====
gen_uuid.c:297:10: error: call to undeclared function 'flock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while (flock(state_fd, LOCK_EX) < 0) { ^ gen_uuid.c:297:10: note: did you mean 'clock'?
/data/data/com.termux/files/usr/include/time.h:96:9: note: 'clock' declared here clock_t clock(void); ^ gen_uuid.c:369:3: error: call to undeclared function 'flock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] flock(state_fd, LOCK_UN); ^ 2 errors generated.
====
I am trying to apply netbsd patch to it, but no success so far