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

Error when compiling #217

Open
JuicySoup opened this issue Jan 6, 2022 · 1 comment
Open

Error when compiling #217

JuicySoup opened this issue Jan 6, 2022 · 1 comment

Comments

@JuicySoup
Copy link

Downloaded repo, opened solution in vs19 and upgraded to latest toolset. When compiling I get this error:

Severity	Code	Description	Project	File	Line	Suppression State
Error	C1189	#error:  The <experimental/filesystem> header providing std::experimental::filesystem is deprecated by Microsoft and will be REMOVED. It is superseded by the C++17 <filesystem> header providing std::filesystem. You can define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge that you have received this warning.	NativeCore	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\experimental\filesystem	30	

@yokee99
Copy link

yokee99 commented Jan 8, 2022

in Project Settings -> C/C++ -> Preprocessor -> Preprocessor definitions

add

_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING

to resolve it.

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