[gdal-dev] /MD vs /MDd for DEBUG MSVC builds
Mateusz Loskot
mateusz at loskot.net
Thu Sep 28 03:21:59 PDT 2017
On 28 September 2017 at 12:05, Even Rouault <even.rouault at spatialys.com> wrote:
>
> Given the feedback, I've just committed the below change (in trunk only)
>
> -OPTFLAGS= $(CXX_PDB_FLAGS) /nologo /MD /EHsc /GR /FC /DDEBUG
> +OPTFLAGS= $(CXX_PDB_FLAGS) /nologo /MDd /EHsc /GR /FC /DDEBUG
It's worth to notice that switch to /MDd also automatically defines _DEBUG [1].
[1] https://docs.microsoft.com/en-us/cpp/c-runtime-library/debug
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list