On Sat, 14 Mar 2020, Egor Pugin wrote:

I don't agree with your conclusion that clang doesn't support
__declspec in the configuration your describing.

Maybe.
With declspecs and current settings I see following:
https://pastebin.com/L63Zj9Hn (errors)
https://pastebin.com/KSDpSse5 (command line)
Same with x86_64-pc-windows-msvc target.

Well that error doesn't say it doesn't support __declspec, it mostly says that some part of the quoting/expansion of __declspec via the macros ends up broken.

Can you try running the same command but with -E instead of -c, and quote the relevant bits from the output from around where WINPTHREAD_API is used?

// Martin



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to