Open shawarden opened 1 year ago
While compiling on ubuntu 22.04.2 using GCC 12.2.0 I get a bunch of the following errors:
utility/src/system/time-v1.H:88:5: error: ‘gettimeofday’ was not declared in this scope; did you mean ‘SYS_gettimeofday’? 88 | gettimeofday(&tp, nullptr);
As per this post on stackoverflow, adding...
#define _BSD_SOURCE #include <sys/time.h>
...to utility/src/system/time-v1.H seems to resolve this issue.
utility/src/system/time-v1.H
Sorry about that. I just pushed a rewrite of that piece that should resolve the compile errors.
While compiling on ubuntu 22.04.2 using GCC 12.2.0 I get a bunch of the following errors:
As per this post on stackoverflow, adding...
...to
utility/src/system/time-v1.H
seems to resolve this issue.