search for: nominmax

Displaying 6 results from an estimated 6 matches for "nominmax".

Did you mean: nominal
2014 Sep 30
2
[LLVMdev] size_t?
I'm getting compile errors because size_t is getting redefined. My "forced include file" starts with: #if BUILDING_FOR_WINDOWS #define NOMINMAX /* deal with the fact that windef.h also defines BOOL */ #define BOOL WINBOOL #include <windows.h> #include <intrin.h> #undef BOOL #endif Looking at the preprocessor expansion of a typical .cpp file, I see that crtdefs.h defines size_t like this: typedef unisgned __int64 size_t;...
2015 Oct 16
2
[llvm] r250383 - Speculatively unbreak Windows build
...mp;view=rev >> Log: >> Speculatively unbreak Windows build >> >> <windows.h> defines macros named min and max in conflict with >> <algorithm>. Prevent macro expansion by wrapping std::min in >> parenthesis. >> > > Could we just build with NOMINMAX in the windows build? > > >> >> Modified: >> llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp >> >> Modified: llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/llvm-pdbdump.cp...
2014 Sep 30
2
[LLVMdev] size_t?
...ep 30, 2014 at 1:55 PM, Eric Mader <emader at gmx.us > <mailto:emader at gmx.us>> wrote: > > I'm getting compile errors because size_t is getting redefined. My > "forced include file" starts with: > > #if BUILDING_FOR_WINDOWS > #define NOMINMAX > > /* deal with the fact that windef.h also defines BOOL */ > #define BOOL WINBOOL > > #include <windows.h> > #include <intrin.h> > > #undef BOOL > #endif > > Looking at the preprocessor expansion of a typical .cpp file, I &g...
2014 Oct 01
2
[LLVMdev] size_t?
...ing forwards. > > On Tue, Sep 30, 2014 at 1:55 PM, Eric Mader <emader at gmx.us> wrote: > >> I'm getting compile errors because size_t is getting redefined. My >> "forced include file" starts with: >> >> #if BUILDING_FOR_WINDOWS >> #define NOMINMAX >> >> /* deal with the fact that windef.h also defines BOOL */ >> #define BOOL WINBOOL >> >> #include <windows.h> >> #include <intrin.h> >> >> #undef BOOL >> #endif >> >> Looking at the preprocessor expansion of a typical...
2012 Nov 27
1
Problems with MinGW and boost on Windows
Hi, I am not sure how widespread this problem is, but definitely occurs for me on 64 bit Win 7 with a 64 bit R. I think I have isolated the issue (to a certain extent) in the attached Test.cpp file. Basically, I think linking with boost serialization is causing the plugin to fail. If I compile Test.cpp with line 43 (Dummy* Read() ...) commented out, I get the expected output in R: >
2014 Oct 01
2
[LLVMdev] size_t?
...On Tue, Sep 30, 2014 at 1:55 PM, Eric Mader <emader at gmx.us> wrote: >> >>> I'm getting compile errors because size_t is getting redefined. My >>> "forced include file" starts with: >>> >>> #if BUILDING_FOR_WINDOWS >>> #define NOMINMAX >>> >>> /* deal with the fact that windef.h also defines BOOL */ >>> #define BOOL WINBOOL >>> >>> #include <windows.h> >>> #include <intrin.h> >>> >>> #undef BOOL >>> #endif >>> >>> Lookin...