summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/cxx.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-02-28 16:28:21 -0500
committerTavian Barnes <tavianator@gmail.com>2011-03-08 21:43:18 -0500
commita2bf45329a172d2c53594c64d27f1c15ac26796a (patch)
tree93c6c3e7404e4abc605c410f978aefa3dd3231fa /tests/libdimension/cxx.cpp
parentf69c955c28b7e5c2eaf4af036cb88480a8e433f3 (diff)
downloaddimension-a2bf45329a172d2c53594c64d27f1c15ac26796a.tar.xz
New dmnsn_warning() API, remove different severities.
Diffstat (limited to 'tests/libdimension/cxx.cpp')
-rw-r--r--tests/libdimension/cxx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libdimension/cxx.cpp b/tests/libdimension/cxx.cpp
index 0a4b44d..43517e1 100644
--- a/tests/libdimension/cxx.cpp
+++ b/tests/libdimension/cxx.cpp
@@ -26,6 +26,9 @@
int
main(void)
{
+ /* Treat warnings as errors for tests */
+ dmnsn_die_on_warnings(true);
+
/* Make sure we can to bit-ops on this enum type */
dmnsn_quality quality = DMNSN_RENDER_PIGMENT | DMNSN_RENDER_LIGHTS;