small changes
This commit is contained in:
parent
45c4f383ee
commit
37e8fdcd6a
@ -6,8 +6,8 @@ CMP_C=gcc
|
|||||||
CMP_CPP=g++
|
CMP_CPP=g++
|
||||||
STD_C=c11
|
STD_C=c11
|
||||||
STD_CPP=c++17
|
STD_CPP=c++17
|
||||||
WARN_C="-Wall -Wno-discarded-qualifiers" #-Wextra
|
WARN_C="-Wall -Wno-discarded-qualifiers"
|
||||||
WARN_CPP="-Wall -Wno-unused-variable -Wno-return-type" #-Wextra
|
WARN_CPP="-Wall"
|
||||||
SRC_C="$( find src -name '*.c')"
|
SRC_C="$( find src -name '*.c')"
|
||||||
SRC_CPP="$( find src -name '*.cpp')"
|
SRC_CPP="$( find src -name '*.cpp')"
|
||||||
TESTS_C="$( find tests -name '*.c')"
|
TESTS_C="$( find tests -name '*.c')"
|
||||||
|
|||||||
@ -38,7 +38,7 @@ typedef double float64;
|
|||||||
#define CALL
|
#define CALL
|
||||||
#endif
|
#endif
|
||||||
#ifndef typeof
|
#ifndef typeof
|
||||||
#define typeof __typeof__
|
#define typeof(X) __typeof__(X)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#pragma GCC error "unknown compiler"
|
#pragma GCC error "unknown compiler"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user