[LLVMbugs] [Bug 20746] clang fails to parse mingw-w64's secure api headers (cannot add 'dllimport' attribute)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 4 04:56:31 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20746
Thomas Pöchtrager <t.poechtrager at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #5 from Thomas Pöchtrager <t.poechtrager at gmail.com> ---
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);
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140904/24e92b82/attachment.html>
More information about the llvm-bugs
mailing list