<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:t.poechtrager@gmail.com" title="Thomas Pöchtrager <t.poechtrager@gmail.com>"> <span class="fn">Thomas Pöchtrager</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang fails to parse mingw-w64's secure api headers (cannot add 'dllimport' attribute)"
href="http://llvm.org/bugs/show_bug.cgi?id=20746">bug 20746</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang fails to parse mingw-w64's secure api headers (cannot add 'dllimport' attribute)"
href="http://llvm.org/bugs/show_bug.cgi?id=20746#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang fails to parse mingw-w64's secure api headers (cannot add 'dllimport' attribute)"
href="http://llvm.org/bugs/show_bug.cgi?id=20746">bug 20746</a>
from <span class="vcard"><a class="email" href="mailto:t.poechtrager@gmail.com" title="Thomas Pöchtrager <t.poechtrager@gmail.com>"> <span class="fn">Thomas Pöchtrager</span></a>
</span></b>
<pre>Has this been forgotten to be merged into the 3.5 branch?
I am still getting errors with the latest 3.5 sources.
$ clang -v
clang version 3.5.0 (217142)
$ clang [...] test.i
In file included from test.c:2:
In file included from /opt/other/mingw/i686-w64-mingw32/include/conio.h:125:
/opt/other/mingw/i686-w64-mingw32/include/sec_api/conio_s.h:30:70: error:
redeclaration of '_cgetws_s' cannot add 'dllimport' attribute
__attribute__ ((__dllimport__)) errno_t __attribute__((__cdecl__)) _cgetws_s
(wchar_t *_Buffer,size_t _SizeInWords,size_t *_SizeRead);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>