>>> On 06.04.17 at 14:54, <[email protected]> wrote:
> --- a/xen/include/Makefile
> +++ b/xen/include/Makefile
> @@ -111,7 +111,7 @@ headers.chk: $(PUBLIC_ANSI_HEADERS) Makefile
>  headers99.chk: $(PUBLIC_C99_HEADERS) Makefile
>       rm -f [email protected]
>       $(foreach i, $(filter %.h,$^),                                        \
> -         $(CC) -x c -std=c99 -Wall -Werror                                 \
> +         $(CC) -x c -std=c99 -Wall -Werror -Wno-unused-function            \
>           -include stdint.h $(foreach j, $($(i)-prereq), -include $(j).h)   \
>           -S -o /dev/null $(i)                                              \
>           || exit $$?; echo $(i) >> [email protected];)

I think it would be better to make this match the C++ check, where
a source file is being generated on the fly (and quite possibly for a
similar reason).

Jan


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Reply via email to