Displaying 16 results from an estimated 16 matches for "d_scl_secure_no_deprec".
2008 Nov 26
1
[LLVMdev] Removal of Visual Studio project files.
Nice, very well done on the CMake build. This command worked perfectly:
cmake -G "Visual Studio 8 2005"
-DCMAKE_CXX_FLAGS="-D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_SECURE_NO_DEPRECATE -D_SECURE_SCL=0 -D_SCL_SECURE_NO_DEPRECATE
-D_HAS_ITERATOR_DEBUGGING=0" ..\trunk > ..\build_log.txt
And for the actual build, went very well. The INSTALL was much
project was better then I was expecting (although did not install to a
place I wanted it to, I guess that can be changed with another option
passed to the above comma...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...flag is interesting because it can leads to great performance
>> improvement in STL heavy code (up to x10 and more on particular code)).
>
> I use this for every bit of my code:
> /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_SECURE_NO_DEPRECATE
> /D_CRT_SECURE_NO_WARNINGS /D_SECURE_SCL=0 /D_SCL_SECURE_NO_DEPRECATE
> /D_HAS_ITERATOR_DEBUGGING=0
>
> In one particular class in one of my libraries, the speed difference
> is the difference of it running in about 10ms, compared to it running
> in about 12 minutes, and yes that is accurate. That is a lot greater
> then just "10x". W...
2015 Jul 22
2
[LLVMdev] is it impossible to use the external llvm custom pass on windows?
...Pass<SampleIRModule> X("SampleIRModule", "SampleIRModule
Pass");
And,here is my build command on windows.
cl /EHsc -ID:\LLVM\llvm-3.4.2\build_nmake\output/include
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -wd4146 -wd4180
-wd4244 -wd4267 -wd4345 -wd4351 -wd4355 -wd4503 -wd4624 -wd4800 -wd4291
-w14062 -we4238 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -c testpass.cpp
cl /D_USRDLL /D_WINDLL testpass.obj /link /DLL /OUT:testpass.dll
D:\LLVM\llvm-3...
2010 Mar 06
4
[LLVMdev] [PATCH]: MSVC build enhancements
On Sat, Mar 6, 2010 at 11:33 AM, Cédric Venet <cedric.venet at laposte.net> wrote:
> Le 06/03/2010 11:43, José Fonseca a écrit :
>>
>> Attached are two patches with MSVC build enchancements.
>>
>> They are quite trivial, but were necessary to correctly link LLVM
>> libraries with Mesa3D on Windows.
>>
>> Jose
>>
>
> Are you volontary
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...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
José Fonseca <jose.r.fonseca at gmail.com> writes:
> Attached are two patches with MSVC build enchancements.
>
> They are quite trivial, but were necessary to correctly link LLVM
> libraries with Mesa3D on Windows.
[snip]
> add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE )
> + add_llvm_definitions( -D_SECURE_SCL=0 )
With this setting the default LLVM build becomes incompatible with
libraries compiled with _SECURE_SCL=1 (which is the default
setting). The right thing here is to use an option.
> - add_llvm_definitions("/${LLVM_USE_CRT}")
>...
2016 Feb 13
2
r260758 broke windows build
...\llvm\lib\Target\Hexagon -Iinclude
-Ic:\lldbSlave\lldb-win7-android\llvm\include /EHs-c- /GR-
/showIncludes -DGTEST_HAS_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_DEBUG_POINTER_IMPL="" -D_HAS_EXCEPTIONS=0
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
/Folib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\HexagonFrameLowering.cpp.obj
/Fdlib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\ /FS -c
c:\lldbSlave\lldb-win7-android\llvm\lib\Target\...
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
...\5.4\msvc2013_64\include\QtCore
-IC:\Qt\5.4\msvc2013_64\mkspecs\win32-msvc2013 /showIncludes
-DLLVMPlugin_EXPORTS -DLLVM_PLUGIN -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS
-DQT_NO_DEBUG -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
/Fosrc\plugins\thirdParty\LLVM\CMakeFiles\LLVMPlugin.dir\tools\clang\lib\Dri
ver\Compilation.cpp.obj
/Fdsrc\plugins\thirdParty\LLVM\CMakeFiles\LLVMPlugin.dir\ /FS -c
..\src\plugins\thirdPar...
2010 Mar 06
0
[LLVMdev] [PATCH]: MSVC build enhancements
...heavy code (up to x10 and more on particular
>>>>>> code)).
>>>>>
>>>>> I use this for every bit of my code:
>>>>> /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_SECURE_NO_DEPRECATE
>>>>> /D_CRT_SECURE_NO_WARNINGS /D_SECURE_SCL=0 /D_SCL_SECURE_NO_DEPRECATE
>>>>> /D_HAS_ITERATOR_DEBUGGING=0
>>>>>
>>>>> In one particular class in one of my libraries, the speed difference
>>>>> is the difference of it running in about 10ms, compared to it running
>>>>> in about 12 minutes, and...
2008 Nov 25
0
[LLVMdev] Removal of Visual Studio project files.
On Mon, Nov 24, 2008 at 8:18 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> OvermindDL1 <overminddl1 at gmail.com> writes:
>
>>> Chris proposed on IRC to remove the Visual Studio project files and turn
>>> CMake into the "standard" for building LLVM with VC++.
>>>
>>> If you have strong arguments against this, please voice them.
2015 Jul 22
1
[LLVMdev] is it impossible to use the external llvm custom pass on windows?
...RModule
>> Pass");
>>
>>
>> And,here is my build command on windows.
>> cl /EHsc -ID:\LLVM\llvm-3.4.2\build_nmake\output/include
>> -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
>> -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
>> -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -wd4146 -wd4180
>> -wd4244 -wd4267 -wd4345 -wd4351 -wd4355 -wd4503 -wd4624 -wd4800 -wd4291
>> -w14062 -we4238 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
>> -D__STDC_LIMIT_MACROS -c testpass.cpp
>>
>> cl /D_USRDLL /D_WINDLL testpass.obj...
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
...\5.4\msvc2013_64\include\QtCore -IC:\Qt\5.4\msvc2013_64\mkspecs\win32-msvc2013 /showIncludes -DLLVMPlugin_EXPORTS -DLLVM_PLUGIN -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /Fosrc\plugins\thirdParty\LLVM\CMakeFiles\LLVMPlugin.dir\tools\clang\lib\Driver\Compilation.cpp.obj /Fdsrc\plugins\thirdParty\LLVM\CMakeFiles\LLVMPlugin.dir\ /FS -c ..\src\plugins\thirdPart...
2008 Nov 25
2
[LLVMdev] Removal of Visual Studio project files.
OvermindDL1 <overminddl1 at gmail.com> writes:
>> Chris proposed on IRC to remove the Visual Studio project files and turn
>> CMake into the "standard" for building LLVM with VC++.
>>
>> If you have strong arguments against this, please voice them.
>
> As long as instructions are supplied on how to pass in user defined
> macros to the build system.
2008 Nov 25
0
[LLVMdev] Removal of Visual Studio project files.
On Mon, Nov 24, 2008 at 10:13 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> /* snip */
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).
2010 Mar 06
6
[LLVMdev] [PATCH]: MSVC build enhancements
Attached are two patches with MSVC build enchancements.
They are quite trivial, but were necessary to correctly link LLVM
libraries with Mesa3D on Windows.
Jose
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-to-build-against-static-MSVC-runtime.patch
Type: text/x-patch
Size: 2055 bytes
Desc: not available
URL:
2016 Feb 13
2
r260758 broke windows build
It works for me:
------ Build started: Project: LLVMHexagonCodeGen, Configuration:
RelWithDebInfo Win32 ------
cl : Command line warning D9002: ignoring unknown option '/Zc:inline'
HexagonFrameLowering.cpp
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Here's the info from the "about" window:
Microsoft Visual Studio Professional 2013