xen/compiler: Clang 14 and later understands attribute((error))

Adjust the ifdefary for `nocall`.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2023-02-24 17:44:29 +00:00
1 parent 43e1387130
commit de6fda801c
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@
#define __weak __attribute__((__weak__))
#if !defined(__clang__)
#if !CONFIG_CC_IS_CLANG || CONFIG_CLANG_VERSION >= 140000
# define nocall __attribute__((__error__("Nonstandard ABI")))
#else
# define nocall
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.