This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence many "statement not reached" on Solaris
authorKarl Williamson <khw@cpan.org>
Mon, 20 Mar 2017 23:17:39 +0000 (17:17 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 1 Jun 2017 12:33:17 +0000 (06:33 -0600)
commitdbc47c6fa7478cfc67457c2ab0f70034996fe018
tree04f6d5885ee767ade441e1a6824203432f0d8334
parent272af0584dc7bd5ab0e8097878bd08ea604ac2e3
Silence many "statement not reached" on Solaris

It turns out that the NOT_REACHED macro that is used to make sure a
statement really isn't reachable, causes the Solaris compiler to emit
such warnings.  It expands to ASSUME(0), and Solaris will flag that.
This commit just changes NOT_REACHED to expand to nothing on Solaris.
perl.h