m0gccxml2xcode: suppress warnings about given+when
Suppress experimental warnings about given+when on
CASTXML2XC  motr/client_xc.h
given is experimental at ./xcode/m0gccxml2xcode line 264.
when is experimental at ./xcode/m0gccxml2xcode line 265.
when is experimental at ./xcode/m0gccxml2xcode line 280.
@@ -78,6 +78,10 @@ BEGIN {
use 5.010;
use strict;
use warnings;
+# suppress experimental warnings about 'given' and 'when'
+# on more recent Perl versions
+use feature qw( switch );
+no if $] >= 5.018, warnings => 'experimental::smartmatch';
# core modules
use Carp;
