Messages in this thread | | | Date | Sun, 24 May 2020 16:08:38 +0200 | From | Luc Van Oostenryck <> | Subject | Re: [PATCH] Removing ununsed variable int lo, hi, int data and int i from comedi/drivers/dt2814.c. |
| |
On Sun, May 24, 2020 at 07:02:20PM +0530, GAURAV PATHAK wrote: > > For few drivers, I am getting: > > CC [M] drivers/staging/vt6656/key.o > CHECK drivers/staging/vt6656/rf.c > /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h:417:9: warning: preprocessor token offsetof redefined > ./include/linux/stddef.h:17:9: this was the original definition > > but I guess these are false positive, as #undef offsetof is already present in ./include/linux/stddef.h.
But there is no #undef in /usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h which seems to be sometimes included after Linux's include/linux/stddef.h
-- Luc
| |