This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4fb15a
)
g++ 4.0 supports __attribute__((unused))
author
Lukas Mai
<l.mai@web.de>
Mon, 6 Nov 2017 18:57:08 +0000
(19:57 +0100)
committer
Lukas Mai
<l.mai@web.de>
Mon, 6 Nov 2017 18:57:08 +0000
(19:57 +0100)
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
00f3fe8
..
44b9805
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-317,7
+317,7
@@
#endif
#ifndef PERL_UNUSED_DECL
-# if defined(HASATTRIBUTE_UNUSED) && (!defined(__cplusplus) ||
(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
)
+# if defined(HASATTRIBUTE_UNUSED) && (!defined(__cplusplus) ||
__GNUC__ >= 4
)
# define PERL_UNUSED_DECL __attribute__unused__
# else
# define PERL_UNUSED_DECL