Compile cleanly with clang++

This commit is contained in:
Nigel Tao committed 2019-04-07 16:16:14 +10:00
1 parent 3c86337cac
commit d8b5128c09
5 files changed
+26 -13

No files matched your search

+2 -2
View File
@@ -60,10 +60,10 @@ $CC -c -DWUFFS_IMPLEMENTATION \
echo "Checking snapshot compiles cleanly (as C++)"
$CXX -c \
-Wall -Werror -Wpedantic -Wconversion -std=c++11 \
release/c/wuffs-unsupported-snapshot.c -o /dev/null
-x c++ release/c/wuffs-unsupported-snapshot.c -o /dev/null
$CXX -c -DWUFFS_IMPLEMENTATION \
-Wall -Werror -Wpedantic -Wconversion -std=c++11 \
release/c/wuffs-unsupported-snapshot.c -o /dev/null
-x c++ release/c/wuffs-unsupported-snapshot.c -o /dev/null
wuffs genlib -skipgen
wuffs test -skipgen -mimic