Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_streambuf.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-09-07 16:51:33 +0200
committerMartin Hořeňovský2017-09-07 17:25:15 +0200
commit9aa96712aec495d5a0d580f773c292803cc662aa (patch)
treefa68e3b1bad433075b8254183c0cc4f9b7af624c /include/internal/catch_streambuf.cpp
parent6105282c4f74984eede1f6ab37b2340f4db19f8a (diff)
downloadcatch3-9aa96712aec495d5a0d580f773c292803cc662aa.tar.gz
Sweep out some extra warnings
Swept: `-Wpadded` in some places (where it caused extra size, instead of just saying "hey, we padded struct at the end to align, just as standard says") `-Wweak-vtables` everywhere (Clang) `-Wexit-time-destructors` everywhere (Clang) `-Wmissing-noreturn` everywhere (Clang) The last three are enabled for Clang compilation going forward. Also enabled `-Wunreachable-code` for Clang and GCC
Diffstat (limited to 'include/internal/catch_streambuf.cpp')
-rw-r--r--include/internal/catch_streambuf.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/internal/catch_streambuf.cpp b/include/internal/catch_streambuf.cpp
new file mode 100644
index 00000000..608917fb
--- /dev/null
+++ b/include/internal/catch_streambuf.cpp
@@ -0,0 +1,12 @@
+/*
+ * Created by Martin on 31/08/2017.
+ *
+ * Distributed under the Boost Software License, Version 1.0. (See accompanying
+ * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+ */
+
+#include "catch_streambuf.h"
+
+namespace Catch {
+ StreamBufBase::~StreamBufBase() = default;
+}