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

Doesn't compile with latest Visual Studio in C++23 mode #309

Closed
sdegutis opened this issue Aug 4, 2024 · 4 comments
Closed

Doesn't compile with latest Visual Studio in C++23 mode #309

sdegutis opened this issue Aug 4, 2024 · 4 comments

Comments

@sdegutis
Copy link

sdegutis commented Aug 4, 2024

Error	C4996	'std::aligned_storage<8,8>::type': warning STL4034: std::aligned_storage and std::aligned_storage_t are deprecated in C++23. Prefer alignas(T) std::byte t_buff[sizeof(T)]. You can define _SILENCE_CXX23_ALIGNED_STORAGE_DEPRECATION_WARNING or _SILENCE_ALL_CXX23_DEPRECATION_WARNINGS to suppress this warning.	
@Dobiasd Dobiasd closed this as completed in 82bcb06 Aug 8, 2024
@Dobiasd
Copy link
Owner

Dobiasd commented Aug 8, 2024

Hi @sdegutis, thanks for reporting!
The following change should fix the problem: #310

@sdegutis
Copy link
Author

sdegutis commented Aug 8, 2024

@Dobiasd cool, do you know when this change will land in vcpkg?

@Dobiasd
Copy link
Owner

Dobiasd commented Aug 8, 2024

I just tagged a new release version. Not sure how long it usually takes to appear in vcpkg though.

@sdegutis
Copy link
Author

sdegutis commented Aug 8, 2024

Cool thanks.

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

2 participants