Re: [cfe-users] build errors with MinGW-W64 GCC-8.1.0 on Windows

2018-11-12 Thread KOLANICH via cfe-users
Hello, Maarten. I have partially built LLVM with MinGW-w64 8.1.0 (some llvm shared libs needed, not clang and stdlib). For experimenting with build I personally recommend using ninja instead of mingw32-make because it allows resuming without rebuilding everything from scratch if I added a lin

Re: [cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-09 Thread KOLANICH via cfe-users
gt;> >Basically, there's no owner for CUDA support on windows. Someone >needs >> >to >> >figure out why/how CUDA includes behave differently under mingw and >> >figure >> >out how to work around that in the CUDA wrapper headers in clang. >> >

[cfe-users] Usage of CLang CUDA target with MinGW stdlib

2018-11-02 Thread KOLANICH via cfe-users
Hello everybody. Could anyone clarify how to use this cuda target (-std=c++11 -x cuda) with MinGW stdlib? I mean I get errors \LLVM-7.0.0-win32\lib\clang\7.0.0\include\cuda_wrappers\new:41:12: error: use of undeclared identifier 'malloc' return ::malloc(size); \LLVM-7.0.0-win32\lib\clang\7.0.0