[Gdal-dev] build error using Visual Studio 8
mateusz at loskot.net
Sun Apr 2 16:07:24 EDT 2006
Frank Warmerdam wrote:
> Mateusz Łoskot wrote:
>> The question is how GDAL should handle it. Should GDAL behave more in C
>> way or more in C++ way?
> Well, for the specific case of function like strchr() that have "const
> correct" versions, I think this just helps us write better code. We should
> just review any code with problems, and correct it to work properly with
> VS8. In the case of the cpl_strtod.cpp change I took the path of least
> resistance with the cast because the code is complex and I'm afraid of
> trying to change too much.
I just would suggest to avoid using C version of strchr in future.
More information about the Gdal-dev