protonscr

Enabling TLS with MingW

vkd3dclosed
HansKristian-Work/vkd3d-proton#706 · opened 2021-06-18 by rgc183 · updated 2021-06-18 · 4 comments · github
Rrgc183 2021-06-18 github

Currently I am using

#if defined(_WIN32)
__declspec(thread) type data;
#endif

Its giving me an warning:
warning: ‘thread’ attribute directive ignored [-Wattributes]
Any idea WAR for this?

Rrgc183 2021-06-18 github

@HansKristian-Work @Joshua-Ashton

HHansKristian-Work maintainer 2021-06-18 github

Why is this vkd3d-proton's bug?

Rrgc183 2021-06-18 github

I was wondering if we need to add any flag in meson build to enable this.

Mmisyltoad maintainer 2021-06-18 github

Use thread_local.

Nothing extracted yet.