Re: [PATCH 05/45] C++: Set compilation as C++ for .c files

From: Fengguang Wu
Date: Tue Apr 03 2018 - 09:27:22 EST


On Tue, Apr 03, 2018 at 02:16:50PM +0100, David Howells wrote:
kbuild test robot <lkp@xxxxxxxxx> wrote:

scripts/Makefile.kasan:17: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C

It would need to use g++-8 to compile it ;-)

Awesome! :)

Cheers,
Fengguang