c++: source position of lambda captures [PR84471]
include/ * ansidecl.h (ATTRIBUTE_WARN_UNUSED_RESULT): Add __.
This commit is contained in:
parent
a5e58a4164
commit
9ba1efd215
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user