Hello everybody.

Could anyone clarify how to use this cuda target (-std=c++11 -x cuda) with 
MinGW stdlib?

I mean I get errors

<censored2>\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);
<censored2>\LLVM-7.0.0-win32\lib\clang\7.0.0\include\cuda_wrappers\new:58:7: 
error: no type named 'free' in the global namespace ::free(ptr);

and I wonder what I should do to fix them.
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to