* [binutils-gdb] c++: source position of lambda captures [PR84471]
@ 2023-08-12 0:59 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12 0:59 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9ba1efd2150b7fb061f4262c93b9e9e1287d81b4
commit 9ba1efd2150b7fb061f4262c93b9e9e1287d81b4
Author: Jason Merrill <jason@redhat.com>
Date: Mon Aug 7 13:07:06 2023 +0200
c++: source position of lambda captures [PR84471]
include/
* ansidecl.h (ATTRIBUTE_WARN_UNUSED_RESULT): Add __.
Diff:
---
include/ansidecl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/ansidecl.h b/include/ansidecl.h
index d94145d1313..39375e17156 100644
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-12 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12 0:59 [binutils-gdb] c++: source position of lambda captures [PR84471] Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).