[cfe-dev] clang compiling complex reports err

Francois Pichet pichet2000 at gmail.com
Tue Jan 4 01:44:13 PST 2011


2011/1/4 <way_lzl at sina.com>

> No, _Complex is used in MSVC's math.h.
>
> line 135: _CRTIMP double  __cdecl _cabs(__in struct _complex _Complex);
>
> Ok that's in Visual Studio 2005. It was changed in MSVC 2008 to not use
_Complex as parameter name.


> Then if I use math.h with Clang on windows, what should I do?
>
Either you submit a patch to fix it yourself or you can submit a PR and wait
for someone else to fix it.
Otherwise use VS 2008.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110104/948d0dc7/attachment.html>


More information about the cfe-dev mailing list