From f5dcbf517b88d7479fa12d5f3b59183a447cae6f Mon Sep 17 00:00:00 2001 From: Jon Lipstate Date: Sun, 30 Apr 2023 18:36:00 -0700 Subject: helpful errors custom-attrs --- src/checker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/checker.cpp') 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 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"); } } } -- cgit v1.2.3