made stringify() use ADL so people can use templates for vector<T> and whatever...
made warnings as errors
diff --git a/scripts/update.py b/scripts/update.py
index 0205926..078504b 100644
--- a/scripts/update.py
+++ b/scripts/update.py
@@ -13,15 +13,16 @@
 version = version_major + "." + version_minor + "." + version_patch
 
 # update version in the header file
-
 doctest_contents = ""
 for line in fileinput.input(["../doctest/doctest.h"]):
-    if line.startswith("#define DOCTEST_VERSION_MAJOR"):
+    if line.startswith("#define DOCTEST_VERSION_MAJOR "):
         doctest_contents += "#define DOCTEST_VERSION_MAJOR " + version_major + "\n"
-    elif line.startswith("#define DOCTEST_VERSION_MINOR"):
+    elif line.startswith("#define DOCTEST_VERSION_MINOR "):
         doctest_contents += "#define DOCTEST_VERSION_MINOR " + version_minor + "\n"
-    elif line.startswith("#define DOCTEST_VERSION_PATCH"):
+    elif line.startswith("#define DOCTEST_VERSION_PATCH "):
         doctest_contents += "#define DOCTEST_VERSION_PATCH " + version_patch + "\n"
+    elif line.startswith("#define DOCTEST_VERSION "):
+        doctest_contents += "#define DOCTEST_VERSION \"" + version + "\"\n"
     else:
         doctest_contents += line