mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 10:35:10 +00:00
gcc: fix warnings (#156)
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
# define _CRT_SECURE_NO_WARNINGS /* for windows */
|
||||
#endif
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE /* for drand48() */
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -18,6 +18,8 @@ main(int argc, const char * argv[]) {
|
||||
test_status_t st;
|
||||
int32_t i, count, passed, failed, maxlen;
|
||||
double start, end, elapsed, total;
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
passed = failed = maxlen = 0;
|
||||
total = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user