mirror of
https://github.com/cc65/cc65.git
synced 2025-01-28 15:31:18 +00:00
Merge pull request #1909 from silverdr/master
Updated ATTR_UNUSED() for clang
This commit is contained in:
commit
800c30604f
@ -46,7 +46,7 @@
|
||||
|
||||
#ifdef __clang__
|
||||
# define attribute(a) __attribute__(a)
|
||||
# define ATTR_UNUSED(x) x
|
||||
# define ATTR_UNUSED(x) __attribute__((__unused__)) x
|
||||
# define ATTR_NORETURN __attribute__((analyzer_noreturn))
|
||||
#elif defined(__GNUC__)
|
||||
# define attribute(a) __attribute__(a)
|
||||
|
Loading…
x
Reference in New Issue
Block a user