__STDC_VERSION__ : What C dialect c89, c99,gnu90 kernel compiies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am building out of tree kernel module.

I am trying to include user-space lib into kernel module

This  API gives me the following warning :

"__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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux