Re: [pcre-dev] [PATCH] Quash deprecation warnings on Windows

Pàgina inicial
Delete this message
Autor: Graycode
Data:  
A: pcre-dev
Assumpte: Re: [pcre-dev] [PATCH] Quash deprecation warnings on Windows
On Wed, 5 Dec 2012, Daniel Richard G. wrote:

> The attached patch adds _CRT_SECURE_NO_WARNINGS to the CMake config header
> template to shoo these away.


Yet the CMakeLists.txt file currently contains:

IF(MSVC)
        ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
ENDIF(MSVC)


I'm not a Cmake user, but that seems a more appropriate place for
settings that are unique to a particular compiler brand and version.


Graycode