From 460e619ae88a13377110976db780f85bf9507cb1 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 19 Jan 2017 16:00:13 +0100 Subject: [PATCH] Compatibility with older gcc --- amalgamate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amalgamate.sh b/amalgamate.sh index fa0b73c..8580a97 100644 --- a/amalgamate.sh +++ b/amalgamate.sh @@ -25,8 +25,8 @@ done echo "int main() { return 0; }" > main.c -gcc -Wpedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out -gcc -ansi -Wpedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out +gcc -pedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out +gcc -ansi -pedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out if command -v clang then clang -Wall -Wpedantic -fsanitize=unsigned-integer-overflow main.c $OUTPUT_PREFIX.c -o test.out