This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
semicolon-friendly diagnostic control
authorZefram <zefram@fysh.org>
Sat, 16 Dec 2017 07:12:48 +0000 (07:12 +0000)
committerZefram <zefram@fysh.org>
Sat, 16 Dec 2017 07:12:48 +0000 (07:12 +0000)
commit7347ee5481c77d2fdb023e0a1c19943d039ecc86
tree33070b53fbf3d2c5c3408c580e3026b9b4e9e1d5
parent64def2aeaeb63f92dadc6dfa33486c1d7b311963
semicolon-friendly diagnostic control

New macros {GCC,CLANG}_DIAG_{IGNORE,RESTORE}_{DECL,STMT}, which take a
following semicolon.  It is necessary to use the _DECL or _STMT version
as appropriate to the context.  Fixes [perl #130726].
19 files changed:
dist/Time-HiRes/HiRes.pm
dist/Time-HiRes/HiRes.xs
dist/threads-shared/lib/threads/shared.pm
dist/threads-shared/shared.xs
dist/threads/lib/threads.pm
dist/threads/threads.xs
doio.c
ext/POSIX/POSIX.xs
inline.h
locale.c
perl.h
perlio.c
pp_ctl.c
pp_sys.c
regcomp.c
sv.c
taint.c
toke.c
util.c