From c0fb6442e30c44490b42e6072151ee739b944e56 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 30 Jan 2021 10:55:28 +0100 Subject: Run tests with both C (c99, c11) and C++ (c++11, c++20) compilers --- test/compile-c++20.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 test/compile-c++20.sh (limited to 'test/compile-c++20.sh') diff --git a/test/compile-c++20.sh b/test/compile-c++20.sh new file mode 100755 index 0000000..502063b --- /dev/null +++ b/test/compile-c++20.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# g++ as provided by Debian Buster (used for CI tests) does not support c++20 +exec g++ -std=c++2a -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c -- cgit v1.2.3