OSDN Git Service

Cleanup: Eliminate _CRT_xxx deprecation situations
authorGreyMerlin <GreyMerlin7@gmail.com>
Mon, 25 Sep 2017 05:01:38 +0000 (22:01 -0700)
committerGreyMerlin <GreyMerlin7@gmail.com>
Wed, 4 Oct 2017 23:39:02 +0000 (16:39 -0700)
commit6feb5e938017ba7a6664ded72ad133b6f4a9091d
treedbadffa5b6f7147f30caf9dc9f54b8a6142a463b
parent1cfe513f11576733d20f1631f1ec3adcfbc0e9b0
Cleanup: Eliminate _CRT_xxx deprecation situations

* The VC compiler began emitting Warnings for various deprecated CRT and
POSIX function names beginning with VS2005.  It was convenient to
ignore these warnings by defining the following preprocessor symbols in
the *.vcxproj files ...
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_WARNINGS
_CRT_SECURE_NO_DEPRECATE

 * This change eliminates those symbol definitions, and appropriately
upgrades the code to properly use the modern, security enhanced,
functions.
 * Most of the existing code properly uses TCHAR, however some areas
explicitly use 'wchar_t' and some areas still use the old 'char' type.
 * The areas that still use 'char' need further investigation and
possible repair as the rest of the program completely uses Unicode.
18 files changed:
Externals/crystaledit/editlib/batch.cpp
Externals/crystaledit/editlib/ccrystaleditview.cpp
Externals/crystaledit/editlib/cs2cs.cpp
Externals/crystaledit/editlib/memcombo.cpp
Externals/crystaledit/editlib/statbar.cpp
Src/Common/BCMenu.cpp
Src/Common/CMoveConstraint.cpp
Src/Common/ClipBoard.cpp
Src/Common/LanguageSelect.cpp
Src/LineFiltersList.cpp
Src/PatchHTML.cpp
Src/VSSHelper.cpp
Src/VSSHelper.h
Src/codepage_detect.cpp
Src/diffutils/src/analyze.c
Src/diffutils/src/context.c
Src/diffutils/src/util.c
Src/paths.cpp