]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ftepp.c
added -Wcpp (for turning off cpp warnings defined with #warning like GCC/clang/pathsc...
[xonotic/gmqcc.git] / ftepp.c
diff --git a/ftepp.c b/ftepp.c
index c7e4273c5f4f9495891c200d6256bfdb4748edc9..323514740cae1583ce113f0c8e66e0efd54925ca 100644 (file)
--- a/ftepp.c
+++ b/ftepp.c
@@ -1025,13 +1025,13 @@ static void ftepp_directive_warning(ftepp_t *ftepp) {
             ftepp_next(ftepp);
         }
         vec_push(message, '\0');
-        (void)!!ftepp_warn(ftepp, LVL_WARNING, message);
+        (void)!!ftepp_warn(ftepp, WARN_CPP, message);
         vec_free(message);
         return;
     }
 
     unescape  (ftepp_tokval(ftepp), ftepp_tokval(ftepp));
-    (void)!!ftepp_warn(ftepp, LVL_WARNING, "#warning %s", ftepp_tokval(ftepp));
+    (void)!!ftepp_warn(ftepp, WARN_CPP, "#warning %s", ftepp_tokval(ftepp));
 }
 
 static void ftepp_directive_error(ftepp_t *ftepp) {