diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2023-05-31 14:08:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-31 14:08:33 +0100 |
| commit | 7915dde43cdbe470c8848489950624cb06139f58 (patch) | |
| tree | c3e39805a4beecd7db09f0a6b2e0f3ce7f0be6bc /src/checker.cpp | |
| parent | 7675b9c28f5db37e32a997a2830615ccd44d8918 (diff) | |
| parent | b223bc0302b54bb0629bd94d0b16e0f0720b6682 (diff) | |
Merge pull request #2504 from jon-lipstate/attr_error
helpful error on 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 fc9a8f776..a25d85fb8 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -3524,6 +3524,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"); } } } |