mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Ensure that lint does not pick up C11 keywords (e.g. _Noreturn), even
if C11 mode is used. It does not support any C11 constructs. MFC after: 3 days
This commit is contained in:
parent
c67d5d66bf
commit
f8270a6221
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277883
@ -252,7 +252,7 @@
|
||||
* Keywords added in C11.
|
||||
*/
|
||||
|
||||
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L
|
||||
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 201112L || defined(lint)
|
||||
|
||||
#if !__has_extension(c_alignas)
|
||||
#if (defined(__cplusplus) && __cplusplus >= 201103L) || \
|
||||
|
Loading…
Reference in New Issue
Block a user