aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2020-12-02 14:33:20 +0100
committerregnat <rg@regnat.ovh>2020-12-02 14:33:20 +0100
commit0d9e1af695ac238b0f8c8bc296bf01eb1430e26b (patch)
tree7d74773775523691885a15f18b7e3fab3974fe5c /src/libexpr
parenta8a96dbaf8ae4f49491903876ddaba44be9d3a39 (diff)
Remove an `unknown pragma` gcc warning
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index 225ab3287..7298419d9 100644
--- a/src/libexpr/lexer.l
+++ b/src/libexpr/lexer.l
@@ -12,7 +12,9 @@
%{
+#ifdef __clang__
#pragma clang diagnostic ignored "-Wunneeded-internal-declaration"
+#endif
#include <boost/lexical_cast.hpp>