summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-08-08 10:25:18 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-08-08 10:25:18 (GMT)
commit012fde5b18d708ffe298400f4b91a7f1449751c3 (patch)
treebbeab1190252091975f8c362070429a567f7903a
parent5c7fb5af0be31b0f610fc5a9cac2e5a61880018e (diff)
downloadlibnslayout-012fde5b18d708ffe298400f4b91a7f1449751c3.tar.gz
libnslayout-012fde5b18d708ffe298400f4b91a7f1449751c3.tar.bz2
Enable warnings on command line.
-rw-r--r--dev/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/main.c b/dev/main.c
index 9e4e578..7c71a44 100644
--- a/dev/main.c
+++ b/dev/main.c
@@ -7,12 +7,14 @@
#include "../test/test-loader.c"
/*
- * cd ../ && make && make install && cd dev/ && gcc `pkg-config libnslayout --cflags` main.c `pkg-config libnslayout --libs` && ./a.out ; cd ~/dev-netsurf/workspace/libnslayout/dev
+ * cd ../ && make && make install && cd dev/ && gcc -Wall -Wextra -Werror `pkg-config libnslayout --cflags` main.c `pkg-config libnslayout --libs` && ./a.out ; cd ~/dev-netsurf/workspace/libnslayout/dev
*/
static void nsl_test_lwc_iterator(lwc_string *str, void *pw)
{
+ UNUSED(pw);
+
printf(" [%3u] %.*s\n", str->refcnt,
(int)lwc_string_length(str),
lwc_string_data(str));