diff options
| author | Jon Lipstate <Jon@Lipstate.com> | 2023-04-30 18:36:00 -0700 |
|---|---|---|
| committer | Jon Lipstate <Jon@Lipstate.com> | 2023-04-30 18:36:00 -0700 |
| commit | f5dcbf517b88d7479fa12d5f3b59183a447cae6f (patch) | |
| tree | ea0dff9383994ec8fe22517cdabd5add901fe3a2 /src/checker.cpp | |
| parent | f0ba5d382130800e122776464897671a12f3e7a1 (diff) | |
helpful errors custom-attrs
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index a6768d495..3e9b46407 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -3507,6 +3507,7 @@ gb_internal void check_decl_attributes(CheckerContext *c, Array<Ast *> const &at if (!proc(c, elem, name, value, ac)) { if (!build_context.ignore_unknown_attributes) { error(elem, "Unknown attribute element name '%.*s'", LIT(name)); + error_line("\tDid you forget to use build flag '-ignore-unknown-attributes'?\n"); } } } |