projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5e58a4
)
c++: source position of lambda captures [PR84471]
author
Jason Merrill
<jason@redhat.com>
Mon, 7 Aug 2023 11:07:06 +0000
(13:07 +0200)
committer
Alan Modra
<amodra@gmail.com>
Sat, 12 Aug 2023 00:28:22 +0000
(09:58 +0930)
include/
* ansidecl.h (ATTRIBUTE_WARN_UNUSED_RESULT): Add __.
include/ansidecl.h
patch
|
blob
|
history
diff --git
a/include/ansidecl.h
b/include/ansidecl.h
index d94145d13137eced5ab108eb2ae207fbe3075b35..39375e1715610e0886fda71a1fa6a33127b384bb 100644
(file)
--- a/
include/ansidecl.h
+++ b/
include/ansidecl.h
@@
-279,7
+279,7
@@
So instead we use the macro below and test it against specific values. */
/* Attribute `warn_unused_result' was valid as of gcc 3.3. */
#ifndef ATTRIBUTE_WARN_UNUSED_RESULT
# if GCC_VERSION >= 3003
-# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((
warn_unused_result
))
+# define ATTRIBUTE_WARN_UNUSED_RESULT __attribute__ ((
__warn_unused_result__
))
# else
# define ATTRIBUTE_WARN_UNUSED_RESULT
# endif