summaryrefslogtreecommitdiff
path: root/src/sexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/sexpr')
-rw-r--r--src/sexpr/lexer_test.cpp3
-rw-r--r--src/sexpr/parser_test.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/sexpr/lexer_test.cpp b/src/sexpr/lexer_test.cpp
index d356f49..936e92a 100644
--- a/src/sexpr/lexer_test.cpp
+++ b/src/sexpr/lexer_test.cpp
@@ -24,6 +24,9 @@
#include "../poison.hpp"
+
+#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
+
static
io::FD string_pipe(ZString sz)
{
diff --git a/src/sexpr/parser_test.cpp b/src/sexpr/parser_test.cpp
index 0be333b..e37b78f 100644
--- a/src/sexpr/parser_test.cpp
+++ b/src/sexpr/parser_test.cpp
@@ -22,6 +22,9 @@
#include "../poison.hpp"
+
+#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
+
static
io::FD string_pipe(ZString sz)
{