From b795616d57f3a26415aee6a30edfd00ef004e31b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 27 Jun 2017 17:52:40 -0400 Subject: [PATCH 1/1] perl-module: Avoid VERSION redefinition warning from compiler. If the PSPP version includes a suffix like "-pre1", then Perl will strip that suffix from the version it passes to the compiler using -DVERSION=..., and will re-define it with the full version string. This causes a warning. This change avoids the warning. I am not yet aware of a new problem that it causes. --- perl-module/PSPP.xs | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-module/PSPP.xs b/perl-module/PSPP.xs index 909ffe9e53..74ea561170 100644 --- a/perl-module/PSPP.xs +++ b/perl-module/PSPP.xs @@ -17,6 +17,7 @@ 02110-1301, USA. */ +#undef VERSION #include /* The Gnulib "strftime" module defines my_strftime in for use by -- 2.30.2