[LLVMdev] Windows build broken?
Argiris Kirtzidis
akyrtzi at gmail.com
Thu Oct 23 16:28:15 PDT 2008
I have updated "DataTypes.h.in", could you do a svn update and see if it
works ?
-Argiris
Óscar Fuentes wrote:
> Óscar Fuentes <ofv at wanadoo.es> writes:
>
>
>>> It appears the Windows build has regressed over the past week.
>>>
>>> The build fails quite early (during the "Performing TableGenStep"
>>> phase).
>>>
>>> Any help/pointers would be appreciated.
>>>
>> It breaks for me because the usage of INT64_C, which was introduced on
>> r57663 and 57668.
>>
>> Some googling around indicates that, on Windows, one should
>>
>
> r/Windows/MSVC++
>
> This patch brings the build fordward:
>
> Index: utils/TableGen/Record.cpp
> ===================================================================
> --- utils/TableGen/Record.cpp (revision 58037)
> +++ utils/TableGen/Record.cpp (working copy)
> @@ -15,6 +15,7 @@
> #include "llvm/Support/DataTypes.h"
> #include "llvm/Support/Streams.h"
> #include "llvm/ADT/StringExtras.h"
> +#include "llvm/Config/config.h"
> #include <ios>
>
> using namespace llvm;
> Index: win32/config.h
> ===================================================================
> --- win32/config.h (revision 58037)
> +++ win32/config.h (working copy)
> @@ -27,3 +27,4 @@
> #define stricmp _stricmp
> #define strdup _strdup
>
> +#define INT64_C(val) val##i64
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
More information about the llvm-dev
mailing list