From d44f7473ded70ec08be6d5651bbd58d662bdf180 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 11 May 2020 16:23:40 +0200 Subject: sys/syz-extract: add another compiler message about missing const New message from clang. --- sys/syz-extract/fetch.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') diff --git a/sys/syz-extract/fetch.go b/sys/syz-extract/fetch.go index 9b09477fb..129385b7e 100644 --- a/sys/syz-extract/fetch.go +++ b/sys/syz-extract/fetch.go @@ -47,6 +47,7 @@ func extract(info *compiler.ConstInfo, cc string, args []string, params *extract for _, errMsg := range []string{ `error: [‘']([a-zA-Z0-9_]+)[’'] undeclared`, `note: in expansion of macro [‘']([a-zA-Z0-9_]+)[’']`, + `note: expanded from macro [‘']([a-zA-Z0-9_]+)[’']`, `error: use of undeclared identifier [‘']([a-zA-Z0-9_]+)[’']`, } { re := regexp.MustCompile(errMsg) -- cgit mrf-deployment