diff --git a/test/unittest/writertest.cpp b/test/unittest/writertest.cpp index 24a2c6c..197411c 100644 --- a/test/unittest/writertest.cpp +++ b/test/unittest/writertest.cpp @@ -376,6 +376,7 @@ TEST(Writer, InvalidEventSequence) { } } +extern double zero; // clang -Wmissing-variable-declarations double zero = 0.0; // Use global variable to prevent compiler warning TEST(Writer, NaN) {