From 374c825f9ffa495b9ff01cad3928e85b1606a9e7 Mon Sep 17 00:00:00 2001 From: tulpenkiste Date: Sun, 28 May 2023 00:15:03 +0100 Subject: [PATCH] Fix my stupidity (WARNING and ERROR pragmas now work as intended) --- include/pragmautil.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/pragmautil.hpp b/include/pragmautil.hpp index 8f84ea1..cd6ed52 100644 --- a/include/pragmautil.hpp +++ b/include/pragmautil.hpp @@ -5,5 +5,5 @@ #define MESSAGE(x) PRAGMA(message(x)) #define TODO(x) PRAGMA(message("TODO: " x)) -#define WARNING(x) PRAGMA(GCC warning(x)) -#define ERROR(x) PRAGMA(GCC error(x)) +#define WARNING(x) PRAGMA(GCC warning x) +#define ERROR(x) PRAGMA(GCC error x)