aboutsummaryrefslogtreecommitdiff
path: root/builtins/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-08 17:17:15 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-08 17:17:15 -0400
commitaeed1992e94c5ab6a5104a06a921101fbe8f40ed (patch)
tree8ba6dc531acefa0eedd330224f16f750496e8dbe /builtins/types.h
parentcf9d5b1619b9e5e886d2754f167046ff77d36abf (diff)
Fix nearly every GCC warning and add __attribute__((pure/const)) where
appropriate
Diffstat (limited to 'builtins/types.h')
-rw-r--r--builtins/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtins/types.h b/builtins/types.h
index 0b48ab36..f06730a7 100644
--- a/builtins/types.h
+++ b/builtins/types.h
@@ -45,6 +45,7 @@ typedef struct TypeInfo {
struct {
const char *type_str;
} TypeInfoInfo;
+#pragma GCC diagnostic ignored "-Wpedantic"
struct {} OpaqueInfo;
struct {
const char *name;