[Mesa-dev] [PATCH mesa] meson: merge C and C++ compiler arguments check

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 12 16:09:50 UTC 2018


On 12 March 2018 at 15:01, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> Dylan, was there any reason to have -Werror=missing-prototypes and
> -Werror=implicit-function-declaration in C but not C++?
> Both sound to me like something we always want.

Seems to be copied from the autotools setup.
Reason being, both are not valid for C++.

Although since we probe for them, everything should be fine. The C++
test will bail out and the flags won't be set during the actual build.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list