# Re: \[PATCH tip v6 2/5\] kbuild: Add option to turn incompatible pointer check into error

- From: Paul Gortmaker \<hidden\>
- Date: 2016-01-29 18:56:39 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2016/01/4673197
- Thread: https://ratatoskr.run/linux-rt-users/2016/01/4671948/t.md

```text
[Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check into error] On 29/01/2016 (Fri 13:17) Daniel Wagner wrote:

> On 01/28/2016 03:44 PM, Daniel Wagner wrote:
> > +# enforce correct pointer usage
> > +KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
> > +
> 
> As it turns out there are a few fallouts by that one. I'll send fixes
> for it.

Did you try non-x86 builds with this applied?   I'd be really surprised
if there were just a few, once you did allyesconfig/allmodconfig for
ARM, MIPS, PPC, etc.

P.
--
```
