From: "Mattia Barbon" <mbarbon@dsi.unive.it>
Message-ID: <
3CA790F7.23864.27BD5B4@localhost>
p4raw-id: //depot/perl@15635
#endif
#ifdef HASATTRIBUTE
-# define PERL_UNUSED_DECL __attribute__((unused))
+# if defined(__GNUC__) && defined(__cplusplus)
+# define PERL_UNUSED_DECL
+# else
+# define PERL_UNUSED_DECL __attribute__((unused))
+# endif
#else
# define PERL_UNUSED_DECL
#endif