From 61bac2595f90e013ce42c3d41ed5f8c405271af3 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Tue, 14 Apr 2020 23:17:24 +0100 Subject: [PATCH] shims/super/cc: allow -Werror=implicit-function-declaration --- Library/Homebrew/shims/super/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc index 6c7bce81b3..13bb32832a 100755 --- a/Library/Homebrew/shims/super/cc +++ b/Library/Homebrew/shims/super/cc @@ -199,7 +199,7 @@ class Cmd args << arg unless tool =~ /^g..-4.[02]/ when /^-Wl,-z,defs/ # -Wl,-undefined,error is already the default - when /^-W[alp],/, /^-Wno-/ + when /^-W[alp],/, /^-Wno-/, "-Werror=implicit-function-declaration" args << arg when /^-W.*/ # prune warnings