How to disable thread local storage in Visual Studio?
Posted: Mon Jun 04, 2018 12:34 pm
This question may not be appropriate for this forum... But it's still related to OS development.
I get:
I could not find anything on Google neither in the project settings.
I would actually define these myself if I knew what they even actually are (e.g. are they functions, variables, etc.) and leave them empty.
Strangely, it happens every time I try to use C++ "static" and my solution to this problem was simply avoiding it.
I get:
Code: Select all
syscall.obj : error LNK2001: unresolved external symbol __Init_thread_header
syscall.obj : error LNK2001: unresolved external symbol __Init_thread_footer
syscall.obj : error LNK2001: unresolved external symbol __Init_thread_epoch
syscall.obj : error LNK2001: unresolved external symbol __tls_array
syscall.obj : error LNK2001: unresolved external symbol __tls_index
I would actually define these myself if I knew what they even actually are (e.g. are they functions, variables, etc.) and leave them empty.
Strangely, it happens every time I try to use C++ "static" and my solution to this problem was simply avoiding it.