<div dir="ltr">Yep, that's what r<span style="font-family:arial,sans-serif;font-size:13px">206791 does. If you update and rebuild you should see it.</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 22, 2014 at 12:03 AM, fprijate <span dir="ltr"><<a href="mailto:prijatelj.francek@gmail.com" target="_blank">prijatelj.francek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I solved the problem.<br>
IMHO the simplest dirty way.<br>
I just added<br>
<br>
CFLAGS+=-D_cdecl=__attribute__((__cdecl__))<br>
-D_stdcall=__attribute__((__stdcall__))<br>
<br>
to my make file and everything compiles fine.<br>
<br>
When I inspect clang macro definitions with clang -dD -E ...,<br>
I see that there is allready :<br>
<br>
#define __declspec(a) __attribute__((a))<br>
<br>
Why not others?  :<br>
<br>
#define _cdecl __attribute__((__cdecl__))<br>
#define __cdecl __attribute__((__cdecl__))<br>
#define _stdcall __attribute__((__stdcall__))<br>
.....<br>
<br>
<br>
regards<br>
Franček<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/clang-doesn-t-compile-simple-code-tp4038903p4038946.html" target="_blank">http://clang-developers.42468.n3.nabble.com/clang-doesn-t-compile-simple-code-tp4038903p4038946.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Clang Developers mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div>