summaryrefslogtreecommitdiff
path: root/src/warnings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/warnings.hpp')
-rw-r--r--src/warnings.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/warnings.hpp b/src/warnings.hpp
index e5fcf2d..9389766 100644
--- a/src/warnings.hpp
+++ b/src/warnings.hpp
@@ -23,11 +23,16 @@
// just mention "fwd.hpp" to make formatter happy
-#include "warning_list.hpp"
+#include "diagnostics.hpp"
namespace tmwa
{
+PRAGMA(GCC diagnostic warning "-Wall");
+PRAGMA(GCC diagnostic warning "-Wextra");
+PRAGMA(GCC diagnostic warning "-Wunused");
+PRAGMA(GCC diagnostic warning "-Wformat");
+
DIAG_E(abi);
DIAG_W(abi_tag);
DIAG_E(address);