__STDC_VERSION__ : What C dialect c89, c99, gnu90 kernel compiies ?
Shlomi Fish
shlomif at gmail.com
Wed May 20 11:20:04 IDT 2020
Hi Lev!
You did not address all my questions in my previous reply - see the mailing
list archive (was it flagged as spam?)
On Wed, May 20, 2020 at 11:09 AM Lev Olshvang <levonshe at yandex.com> wrote:
> Hi All,
>
> I am building out of tree kernel module.
>
> I am trying to include user-space lib into the kernel module
>
> I reference include file of this lib to use the API. I got the following
> warning during make
>
> "__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 _STDC_VERSION__ is a built-in gcc macro, so I think that evenh
> kernel compilation should be able to see it.
>
> Please comment
> Lev.
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20200520/7c04b759/attachment.html>
More information about the Linux-il
mailing list