[gdal-dev] stricmp in cpl_port.h

Andrew Bell andrew.bell.ia at gmail.com
Wed Apr 7 09:07:16 PDT 2021


On Wed, Apr 7, 2021, 11:48 AM Andrew C Aitchison <andrew at aitchison.me.uk>
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 each platform each time, making it more likely that someone
> would break a platform that they don't use.
>

You could write something generic that wouldn't need specialization for
different architectures, eliminating this kind of problem. That's all I was
meaning.

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210407/e3cecce8/attachment-0001.html>


More information about the gdal-dev mailing list