aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index 80007ed..629a39f 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -2177,6 +2177,10 @@ static AstNode* parse_initializer(Parser* p) {
}
}
+#ifndef __ducc__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-function"
+#endif
// attribute-specifier-sequence:
// { attribute-specifier }+
static AstNode* parse_attribute_specifier_sequence_opt(Parser* p) {
@@ -2187,6 +2191,9 @@ static AstNode* parse_attribute_specifier_sequence_opt(Parser* p) {
}
return attrs;
}
+#ifndef __ducc__
+#pragma GCC diagnostic pop
+#endif
// attribute-specifier:
// '[' '[' attribute-list ']' ']'