Re: __STDC_VERSION__ is not know in Linux kernel module, why ?

2020-05-17 Thread Shlomi Fish
Hi Lev! On Sun, May 17, 2020 at 3:33 PM Lev Olshvang wrote: > I am trying to include ELF object file into kernel module > > It gives me a warning of undefined __STDC_VERSION__ symbol > "__STDC_VERSION__" is not defined, evaluates to 0 > > But continues and resulted module works, > > I see

__STDC_VERSION__ is not know in Linux kernel module, why ?

2020-05-17 Thread Lev Olshvang
I am trying to include  ELF object file into kernel module It gives me a warning of undefined __STDC_VERSION__  symbol"__STDC_VERSION__" is not defined, evaluates to 0  But continues and resulted module works, I see from https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html that