[Mesa-dev] [PATCH] build: enable -Werror=incompatible-pointer-types

Eric Engestrom eric.engestrom at intel.com
Thu Nov 22 13:02:23 UTC 2018


On Thursday, 2018-11-22 12:07:03 +0000, Emil Velikov wrote:
> On 2018/11/21, Gert Wollny wrote:
> > Am Mittwoch, den 21.11.2018, 13:14 +0000 schrieb Emil Velikov:
> 
> > > +AX_CHECK_COMPILE_FLAG([-Werror=incompatible-pointer-
> > > types],    [CFXXLAGS="$CXXFLAGS -Werror=incompatible-pointer-types"])
> > For C++ this shoudn't be needed, because there this is already an
> > error. 
> > 
> Indeed - option is for C and Objective C only.
> 
> Seems like the meson patch will need the same tweak.

Indeed, thanks!

> Eric, feel free to squash this with your patch.

I'll respin a v2 with your patch and mine squashed, and the C++ bit
dropped.

Thanks!


More information about the mesa-dev mailing list