From 6332bffd7e9ee9d1cb27196ee7d2822cb3a6c4b1 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 23 Oct 2014 13:41:22 +0100 Subject: [PATCH] GRIB-615: Compiler warnings with jasper: macros redefined --- src/grib_jasper_encoding.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/grib_jasper_encoding.c b/src/grib_jasper_encoding.c index fc4edec0f..8d209e061 100644 --- a/src/grib_jasper_encoding.c +++ b/src/grib_jasper_encoding.c @@ -11,6 +11,12 @@ #include "grib_api_internal.h" #if HAVE_LIBJASPER +/* Remove compiler warnings re macros being redefined */ +#undef PACKAGE_BUGREPORT +#undef PACKAGE_NAME +#undef PACKAGE_STRING +#undef PACKAGE_TARNAME +#undef PACKAGE_VERSION #include "jasper/jasper.h" #define MAXOPTSSIZE 1024