Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew Bell
On Wed, Apr 7, 2021, 11:48 AM Andrew C Aitchison wrote: > > On Wed, 7 Apr 2021, Andrew Bell wrote: > > > Dare I suggest getting rid of EQUAL? > > Since the purpose of EQUALS is to compare two strings, that would > be passing the buck. Without it developers would have to solve this > issue for eac

Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Even Rouault
You're welcome to submit a pull request changing stricmp by _stricmp so that we can check that our CI is happy with that. Given than we only support MSVC >= 2015 nowadays, I'd expect this to run smoothly. Le 07/04/2021 à 16:24, Andrew C Aitchison a écrit : I have developed a gdal driver plugi

Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew C Aitchison
On Wed, 7 Apr 2021, Andrew Bell wrote: Dare I suggest getting rid of EQUAL? Since the purpose of EQUALS is to compare two strings, that would be passing the buck. Without it developers would have to solve this issue for each platform each time, making it more likely that someone would break

Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew Bell
Dare I suggest getting rid of EQUAL? On Wed, Apr 7, 2021 at 10:25 AM Andrew C Aitchison wrote: > > I have developed a gdal driver plugin on Linux and am now attempting to > build it on Windows. > I am using the conda gdal, WIN10 SDK and the mingw-m64 clang11 compiler > (all installed this week,

[gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew C Aitchison
I have developed a gdal driver plugin on Linux and am now attempting to build it on Windows. I am using the conda gdal, WIN10 SDK and the mingw-m64 clang11 compiler (all installed this week, latest versions I believe), but am open to other suggestions for building a windows gdal driver plugin.