small changes

This commit is contained in:
timerix 2022-08-31 01:09:04 +06:00
parent 45c4f383ee
commit 37e8fdcd6a
2 changed files with 3 additions and 3 deletions

View File

@ -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')"

View File

@ -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"