Displaying 6 results from an estimated 6 matches for "_crt_nonstdc_no_warnings".
2007 Nov 07
4
[LLVMdev] LLVM 2.1 with VC++
...is declared with a
PSTR ModuleName argument. This causes a compile error - the callback
typedef specifies PCSTR.
Also, I'd like to suggest adding the following to config.h, to
eliminate the spurious deprecation warnings:
#define _CRT_SECURE_NO_WARNINGS
#define _SCL_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_WARNINGS
And moving #include "llvm/Config/config.h" in all the files above any
other includes, so those will have the proper effect.
Finally, is the JIT considered stable under Windows?
--
Cory Nelson
2007 Nov 07
1
[LLVMdev] LLVM 2.1 with VC++
> Also, I'd like to suggest adding the following to config.h, to
> eliminate the spurious deprecation warnings:
>
> #define _CRT_SECURE_NO_WARNINGS
> #define _SCL_SECURE_NO_WARNINGS
> #define _CRT_NONSTDC_NO_WARNINGS
>
> > And moving #include "llvm/Config/config.h" in all the files above any
> > other includes, so those will have the proper effect.
Can we guard those defines like so?
#if defined _MSC_VER && _MSC_VER >= 1300
#if !defined _CRT_SECURE_NO_WARNINGS...
2008 May 21
3
[LLVMdev] 2.3 Pre-release available for testing
Razvan Aciu wrote:
> As I saw from the mailing list the MSVC 2005 patches were made to take into
> account the new files from the development branch, files which are not in
> the 2.3 release. So for now the below patch is the only one functional for
> the release. If I am wrong, please someone correct me.
>
> If someone can make a 2005 patch for the release branch, it is ok.
2007 Nov 07
0
[LLVMdev] LLVM 2.1 with VC++
...You might want to try LLVM SVN. I believe Hartmut has made several
improvements.
> Also, I'd like to suggest adding the following to config.h, to
> eliminate the spurious deprecation warnings:
>
> #define _CRT_SECURE_NO_WARNINGS
> #define _SCL_SECURE_NO_WARNINGS
> #define _CRT_NONSTDC_NO_WARNINGS
>
> And moving #include "llvm/Config/config.h" in all the files above any
> other includes, so those will have the proper effect.
If LLVM SVN doesn't have these improvements, please consider sending in a
patch, thanks!
> Finally, is the JIT considered stable under Windo...
2015 Sep 03
4
LLVM 3.7.0 build errors on Windows
...reported in LLVM header 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 inc...
2008 Feb 18
3
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
>There's a config.h file in the win32 subdirectory that implies that
it's
>supposed to be concatenated as part of the build process, but it
doesn't
>seem like that's happening from within the .sln script--am I missing a
>pre-build step someplace?
When config.h.in is hit in the build of configure the configure project,
the configure.h file from the win32 directory is