summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/cxx.cpp
diff options
context:
space:
mode:
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;