Re: [PATCH v3 1/3] compiler-gcc.h: add gnu_inline to all inline declarations

2018-06-07 Thread Joe Perches
On Thu, 2018-06-07 at 11:32 -0700, Nick Desaulniers wrote: > Functions marked extern inline do not emit an externally visible > function when the gnu89 C standard is used. Some KBUILD Makefiles > overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without > an explicit C standard specif

[PATCH v3 1/3] compiler-gcc.h: add gnu_inline to all inline declarations

2018-06-07 Thread Nick Desaulniers
Functions marked extern inline do not emit an externally visible function when the gnu89 C standard is used. Some KBUILD Makefiles overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without an explicit C standard specified, the default is gnu11. Since c99, the semantics of extern inlin