Fix warning "cc1plus: warning: ‘-Werror=’ argument...

Fix warning "cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++"
1 job for master in 14 minutes (queued for 26 seconds)