-
Notifications
You must be signed in to change notification settings - Fork 15
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
How to config the headers in QtCreator? #6
Comments
Hi! The error seems to come from a couple of missing compile flags. If you are not using CMake, you should add the following to the MSVC compiler:
These flags are applied and propagated as necessary when using CMake here. The full set of flags added by CMake and MSVC can be seen in the github actions build output:
I should probably mention all this in the README. Please tell me if the flags above fixes the issue. |
Thanks for your help! |
Great! I'll add the steps to the readme. |
My system is Win 10, compiler is microsoft cl. I have enabled c++17 support.
When I try to compile the following code, I get syntax error
The errors are as follows:
and the code corresponding to the first error is
The text was updated successfully, but these errors were encountered: