CC game_base.o /home/marinus/Projects/toxic/src/game_base.c: In function 'game_get_type': /home/marinus/Projects/toxic/src/game_base.c:94:13: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 94 | if (strcasecmp(game_string, match_string) == 0) { | ^~~~~~~~~~ | strncmp /home/marinus/Projects/toxic/src/game_base.c: In function 'get_time_millis': /home/marinus/Projects/toxic/src/game_base.c:157:5: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 157 | clock_gettime(CLOCK_MONOTONIC, &t); | ^~~~~~~~~~~~~ /home/marinus/Projects/toxic/src/game_base.c:157:19: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) 157 | clock_gettime(CLOCK_MONOTONIC, &t); | ^~~~~~~~~~~~~~~ /home/marinus/Projects/toxic/src/game_base.c:157:19: note: each undeclared identifier is reported only once for each function it appears in /home/marinus/Projects/toxic/src/game_base.c: In function 'game_new_window': /home/marinus/Projects/toxic/src/game_base.c:882:53: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 31 [-Wformat-truncation=] 882 | snprintf(ret->name, sizeof(ret->name), "%s (%s)", window_name, nick); | ^~ ~~~~ /home/marinus/Projects/toxic/src/game_base.c:882:9: note: 'snprintf' output 4 or more bytes (assuming 131) into a destination of size 33 882 | snprintf(ret->name, sizeof(ret->name), "%s (%s)", window_name, nick); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~