diff options
author | DJ Delorie <dj@delorie.com> | 2005-05-24 21:01:33 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2005-05-24 21:01:33 +0000 |
commit | 89c7f9932583efbe420b89437971da682e520b83 (patch) | |
tree | d9e972beaab164455b65b67ffd2ca21264c75bd5 /include/ansidecl.h | |
parent | 85805b4389018d6ff9416825b7830d3d807ab34e (diff) | |
download | gdb-89c7f9932583efbe420b89437971da682e520b83.tar.gz |
merge from gcc
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r-- | include/ansidecl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h index 02bb41240cb..380e7b35114 100644 --- a/include/ansidecl.h +++ b/include/ansidecl.h @@ -258,11 +258,11 @@ So instead we use the macro below and test it against specific values. */ /* Attributes on labels were valid as of gcc 2.93. */ #ifndef ATTRIBUTE_UNUSED_LABEL -# if (GCC_VERSION >= 2093) +# if (!defined (__cplusplus) && GCC_VERSION >= 2093) # define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED # else # define ATTRIBUTE_UNUSED_LABEL -# endif /* GNUC >= 2.93 */ +# endif /* !__cplusplus && GNUC >= 2.93 */ #endif /* ATTRIBUTE_UNUSED_LABEL */ #ifndef ATTRIBUTE_UNUSED |