This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
File::Glob bsd_glob.c dont use "loop" as a goto label
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 6 Mar 2018 22:27:04 +0000 (17:27 -0500)
committerTony Cook <tony@develop-help.com>
Tue, 6 Mar 2018 23:44:09 +0000 (10:44 +1100)
commit4d169ec9e2a0eb93170198ffad69a892f91dd199
tree95a0581d9fb49c859e861219ba279f564dcfcf24
parentfb7e725522eb400ba57f680cea29799ad5c8e4ac
File::Glob bsd_glob.c dont use "loop" as a goto label

Using loop as a label conflicts with Perl's "struct loop" and "LOOP" types
and Visual C 2003 in C++ mode (but not the default C build) doesn't like
that. The loop label is from 5.27.1 commit 0db967b2e6
"[perl #131211] fixup File::Glob degenerate matching"

bsd_glob.c(995) : error C2226: syntax error : unexpected type 'loop'
ext/File-Glob/bsd_glob.c