From a66a9b0c0810b40d23e58a5abe7c39b4f30502df Mon Sep 17 00:00:00 2001 From: Thomas Bonfort Date: Thu, 12 Sep 2024 16:25:32 +0200 Subject: [PATCH] wtf --- godal.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/godal.cpp b/godal.cpp index eb9db69..025137a 100644 --- a/godal.cpp +++ b/godal.cpp @@ -1816,10 +1816,10 @@ void godalGridCreate(cctx *ctx, char *pszAlgorithm, GDALGridAlgorithm eAlgorithm } void *ppOptions; -#define __STRINGIFY(TEXT) #TEXT -#define __WARNING(TEXT) __STRINGIFY(GCC warning TEXT) -#define WARNING(VALUE) __WARNING(__STRINGIFY(N = VALUE)) -_Pragma (WARNING(GDAL_VERSION_NUM)) +//#define __STRINGIFY(TEXT) #TEXT +//#define __WARNING(TEXT) __STRINGIFY(GCC warning TEXT) +//#define WARNING(VALUE) __WARNING(__STRINGIFY(N = VALUE)) +//_Pragma (WARNING(GDAL_VERSION_NUM)) #if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 7, 0) ret = GDALGridParseAlgorithmAndOptions(pszAlgorithm, &eAlgorithm, &ppOptions); #else