mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Compile C++ example with -Wall -Werror
This commit is contained in:
1 parent
6183aba9d7
commit
60a7b48745
11 files changed
+50
-50
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ for f in example/*; do
|
||||
echo Building $f
|
||||
if [ "$f" = "example/crc32" ]; then
|
||||
# example/crc32 is unusual in that it's C++, not C.
|
||||
g++ $f/*.cc -o $f/a.out
|
||||
g++ -Wall -Werror $f/*.cc -o $f/a.out
|
||||
elif [ "$f" = "example/library" ]; then
|
||||
# example/library is unusual in that it uses separately compiled libraries
|
||||
# instead of directly #include'ing Wuffs' .c files.
|
||||
|
||||
Reference in new issue
Block a user