search for: _scl_secure_no_deprecate

Displaying 4 results from an estimated 4 matches for "_scl_secure_no_deprecate".

2015 Sep 03
4
LLVM 3.7.0 build errors on Windows
...files, mostly llvm/Support/COFF.h and llvm/Object/COFF.h I'm using Visual Studio Community 2015, the CXX compiler identification is MSVC 19.0.23026.0 My CPP includes are: WIN32 _WINDOWS NDEBUG _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE _CRT_NONSTDC_NO_WARNINGS _SCL_SECURE_NO_DEPRECATE _SCL_SECURE_NO_WARNINGS __STDC_CONSTANT_MACROS __STDC_FORMAT_MACROS __STDC_LIMIT_MACROS _GNU_SOURCE %(PreprocessorDefinitions) Now, a couple of things are suspicious: - in googling around it seems like there are some problems with including Windows.h (which I have to include for other reasons) a...
2008 Nov 25
0
[LLVMdev] Removal of Visual Studio project files.
...Thanks so much for that information. :) For note, this is my usual line I add to the end of my preprocessor definitions in *every* single project I ever open now (thanks to some very bad memories associated with not having them). ;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL=0;_SCL_SECURE_NO_DEPRECATE;_HAS_ITERATOR_DEBUGGING=0 Most of those will be obvious, but as stated, both _SECURE_SCL and _HAS_ITERATOR_DEBUGGING (especially this last one, you can 'sometimes' get by with linking on just _SECURE_SCL, but not with _HAS_ITERATOR_DEBUGGING for some forsaken reason) will cause very nasty...
2008 Nov 25
2
[LLVMdev] Removal of Visual Studio project files.
...// C deprecation > _SCL_SECURE_NO_WARNINGS // C++ deprecation > Those and others already are defined by default: if( MSVC ) add_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS ) add_definitions( -D_SCL_SECURE_NO_WARNINGS -DCRT_NONSTDC_NO_WARNINGS ) add_definitions( -D_SCL_SECURE_NO_DEPRECATE ) add_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 ) add_definitions( -wd4355 -wd4715 ) endif( MSVC ) > In addition to those, for Release builds I recommend disabling the > "secure" stdlib features which does bounds checking and slows down a > lot of good cod...
2008 Jun 11
0
[LLVMdev] some warning from VS2005 (requested by gabor)
...und; memory will not be freed if initialization throws an exception f:\Prog\llvm\include\llvm/User.h(230) : see declaration of 'llvm::User::operator new' and the project files lack some preprocessor definitions: there is _SCL_SECURE_NO_WARNINGS, but it only work with SP1, we need _SCL_SECURE_NO_DEPRECATE for vanilla VS2005 -- Cédric