mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Have build-all.sh check as a .h file, not just .c
This commit is contained in:
1 parent
fda3c4c986
commit
f4c5d953ec
1 file changed
+4
@@ -50,10 +50,14 @@ go test github.com/google/wuffs/...
|
||||
wuffs gen
|
||||
|
||||
echo "Checking snapshot compiles cleanly (as C)"
|
||||
$CC -c -Wall -Werror -std=c99 \
|
||||
release/c/wuffs-unsupported-snapshot.c -o /dev/null
|
||||
$CC -c -Wall -Werror -DWUFFS_IMPLEMENTATION -std=c99 \
|
||||
release/c/wuffs-unsupported-snapshot.c -o /dev/null
|
||||
|
||||
echo "Checking snapshot compiles cleanly (as C++)"
|
||||
$CXX -c -Wall -Werror -std=c++11 \
|
||||
release/c/wuffs-unsupported-snapshot.c -o /dev/null
|
||||
$CXX -c -Wall -Werror -DWUFFS_IMPLEMENTATION -std=c++11 \
|
||||
release/c/wuffs-unsupported-snapshot.c -o /dev/null
|
||||
|
||||
|
||||
Reference in new issue
Block a user