Re: [Mingw-w64-public] clang and mingw

2014-04-05 Thread Kai Tietz
And this time with attachment 2014-04-05 21:41 GMT+02:00 Kai Tietz : > Something like this patch might resolve the issue you found. > > Kai > > PS: Not sure if patch is complete. For stdio_s we moved _l and _p > functions to secure-API too. Nevertheless we didn't did so for > wchar(_s), an

Re: [Mingw-w64-public] clang and mingw

2014-04-05 Thread Kai Tietz
Something like this patch might resolve the issue you found. Kai PS: Not sure if patch is complete. For stdio_s we moved _l and _p functions to secure-API too. Nevertheless we didn't did so for wchar(_s), and stdlib(_s) headers. This looks to me at least inconsistent. ---

Re: [Mingw-w64-public] clang and mingw

2014-04-05 Thread Kai Tietz
Yes, this issue is related to a bug in stdio.h and sec_api/stdio_s.h headers. In stdio.h the ..._l variant are declared without CRTIMP, and in sec_api/stdio_s.h with. Those functions functions need to be removed from stdio.h header AFAICS. Kai ---