Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autostatic.c seems to be missing. #23

Open
jakanidk opened this issue Jul 12, 2023 · 2 comments
Open

autostatic.c seems to be missing. #23

jakanidk opened this issue Jul 12, 2023 · 2 comments

Comments

@jakanidk
Copy link

jakanidk commented Jul 12, 2023

Hello

My Visual Studio 2017 can't find the autostatic.c file.

Can you please enlighten me what is wrong ?

Best regards, Jan

@yuhongjiu
Copy link

I encountered the same problem

@GerHobbelt
Copy link
Owner

Haven't used VS2017 in a long time (currently using VS2022 here). Anyway, from the changelog:

Static linking: The autostatic functionality has been moved to dll.c, and extended so that builds using MSVC8 and later no longer require apps to call pthread_win32_thread_detach_np(). That is, all of the DllMain functionality is now automatic for static linking for these builds.

so it sounds to me like those old MSVC project files are a bit out of date and should include dll.c instead. HTH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants