Merge branch 'bugfix/fix_hints_templates' into 'master'

tools: Fix hint regular expression syntax

See merge request espressif/esp-idf!19965
This commit is contained in:
Roland Dobai 2022-09-06 21:36:13 +08:00
commit f27a426013

View File

@ -204,7 +204,7 @@
hint: "Projects using target_link_libraries with project_elf explicitly and custom CMake projects must specify PRIVATE, PUBLIC or INTERFACE arguments."
-
re: "format '([^']+)' expects argument of type '((unsigned )?int|long)', but argument (\\w+) has type '([u]?int32_t)'( {aka '([^']+)'})?"
re: "format '([^']+)' expects argument of type '((unsigned )?int|long)', but argument (\\w+) has type '([u]?int32_t)'( \\{aka '([^']+)'\\})?"
hint: "The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include <inttypes.h> header file)."
-