disable implicit-function-declaration for FreeBSD

pull/1765/head
Sunny Lam 2019-08-27 15:06:12 +08:00 committed by Alexander Medvednikov
parent 631e6a0d09
commit a5b44b3bc5
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ fn (v mut V) cc() {
else { else {
a << '-g' a << '-g'
} }
if v.os != .msvc { if v.os != .msvc && v.os != .freebsd {
a << '-Werror=implicit-function-declaration' a << '-Werror=implicit-function-declaration'
} }