<P>If I use MSVC's math.h, clang will report err I have formed a simple case to show it:</P>
<P> </P>
<P>struct _complex {<BR> double x,y;<BR> } ;</P>
<P> </P>
<P>#if SHOWERR<BR>void foo( struct _complex _Complex) {<BR> _Complex.x = 0;<BR>}<BR>#else<BR>void foo( struct _complex cc) { <BR> cc.x = 0;<BR>}<BR>#endif</P>
<P><BR>int main()<BR>{<BR> struct _complex cc;<BR> foo(cc);<BR>}</P>
<P> </P>
<P>clang aa.cpp -DSHOWERR=1</P>
<P>aa.cpp(7) : error: '_Complex struct' is invalid<BR>void foo( struct _complex _Complex) {<BR> ^</P>
<P> </P>
<P>It seems _Complex is a reserved key word. Any suggestion? </P>
<P> </P>
<P>Thanks</P>
<P>--------------------------------<BR>--Zhanglin</P>