Kernel Newbies archive on
 help / color / Atom feed
From: "Lev R. Oshvang ." <>
Subject: __STDC_VERSION__ : What C dialect c89, c99,gnu90 kernel compiies
Date: Wed, 20 May 2020 10:30:53 +0300
Message-ID: <> (raw)

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
that _STDC_VERSION__ is a built-in gcc macro, so I think that evenh
kernel compilation should be able to see it.

Please comment

Kernelnewbies mailing list

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  7:30 Lev R. Oshvang . [this message]
2020-05-20  8:44 ` Greg KH
2020-05-20 15:13   ` 67hz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone