Revert c1fddb9
, 639cfa4
: "Codechange: Check if access __attribute__ is supported before trying to use it." (#8526)
This reverts commitc1fddb9a6a
and639cfa43d2
. access_mode "none" is only supported by GCC11, but introduced after it branched. So there are GCC11.0s out there that do not support it. We will have to wait for GCC11.1 to hit before we can re-add this.
This commit is contained in:
10
src/stdafx.h
10
src/stdafx.h
@@ -137,16 +137,6 @@
|
||||
# endif
|
||||
#endif /* __GNUC__ || __clang__ */
|
||||
|
||||
#if defined __has_attribute
|
||||
# if __has_attribute (access)
|
||||
# define NOACCESS(args) __attribute__ ((access (none, args)))
|
||||
# else
|
||||
# define NOACCESS(args)
|
||||
# endif
|
||||
#else
|
||||
# define NOACCESS(args)
|
||||
#endif
|
||||
|
||||
#if defined(__WATCOMC__)
|
||||
# define NORETURN
|
||||
# define CDECL
|
||||
|
Reference in New Issue
Block a user