summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/Makefile2
-rw-r--r--example/operators.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/example/Makefile b/example/Makefile
index f26d3df..c96a553 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -1,4 +1,4 @@
-CXXFLAGS+=-I../include
+CXXFLAGS+=-Wall -Werror -I../include
.PHONY: all
diff --git a/example/operators.cc b/example/operators.cc
index cfcd529..d225303 100644
--- a/example/operators.cc
+++ b/example/operators.cc
@@ -1,9 +1,10 @@
+#include <dwu/operators>
+
#include <iostream>
#include <vector>
#include <list>
-#include <dwu/operators>
template<class S, class T>
static void dump(S const &s, T const &v)