Fix some C++ (not C) compile errors

This commit is contained in:
Nigel Tao committed 2018-06-30 13:31:52 +10:00
1 parent 52e7fe0709
commit e43aa62d1c
7 files changed
+70 -37

No files matched your search

+10
View File
@@ -61,3 +61,13 @@ for f in fuzz/c/std/*_fuzzer.c; do
echo Building $f
gcc -DWUFFS_CONFIG__FUZZLIB_MAIN $f -o ${f%.c}.out
done
# If you wanted to build a release edition now, do something like:
# wuffs genrelease -version=0.0.0-manualtest
# Even if we don't build the release editions, check that they compile with
# -Wall -Werror.
for f in release/c/wuffs-*/*.c; do
gcc -c -Wall -Werror -std=c99 $f -o /dev/null
g++ -c -std=c++11 $f -o /dev/null
done