You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing header file error occurs when compiling with GCC@13.2.0.
Details:
mpicxx -c -fopenmp -g -Wall -Drestrict=__restrict__ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -ffast-math -march=armv8.2-a -mtune=tsv110 -DVERVOSE_MODE=0 -DVERTEX_REORDERING=0 -O3 -DNDEBUG main.cc -o main.o
utils.hpp: In function 'void numa::launch_dummy_thread(int)':
utils.hpp:966:17: error: 'pthread_create' was not declared in this scope; did you mean 'pthread_t'?
966 | pthread_create(&thread, NULL, empty_function, NULL);
| ^~~~~~~~~~~~~~
| pthread_t
utils.hpp:967:17: error: 'pthread_join' was not declared in this scope; did you mean 'thread_id'?
967 | pthread_join(thread, NULL);
| ^~~~~~~~~~~~
| thread_id
utils.hpp: In function 'void setup_globals(int, char**, int, int)':
utils.hpp:1624:71: error: 'localtime' was not declared in this scope
1624 | strftime(buf, sizeof(buf), "%Y/%m/%d %A %H:%M:%S %Z", localtime(&global_clock.l.tv_sec));
| ^~~~~~~~~
utils.hpp:42:1: note: 'localtime' is defined in header '<ctime>'; did you forget to '#include <ctime>'?
41 | #include <deque>
+++ |+#include <ctime>
42 |
utils.hpp:1624:17: error: 'strftime' was not declared in this scope
1624 | strftime(buf, sizeof(buf), "%Y/%m/%d %A %H:%M:%S %Z", localtime(&global_clock.l.tv_sec));
| ^~~~~~~~
utils.hpp:1624:17: note: 'strftime' is defined in header '<ctime>'; did you forget to '#include <ctime>'?
The text was updated successfully, but these errors were encountered:
Missing header file error occurs when compiling with
GCC@13.2.0
.Details:
The text was updated successfully, but these errors were encountered: