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

It is missing std::optional in Eclipse 2024-03 with GCC version 13.2.0 #736

Closed
VietHungPhan opened this issue Mar 12, 2024 · 3 comments
Closed

Comments

@VietHungPhan
Copy link

Hi,
I always get the error "Symbol optional could not be resolved" for std::optional in Eclipse 2024-03 with linux GCC version 13.2.0. Below is my codes.
image

@i-garrison
Copy link
Contributor

Looks like your GCC is version 8, see include paths. This could be too low by default, try setting -std=c++17 or configure CDT to use newer compiler.

@VietHungPhan
Copy link
Author

VietHungPhan commented Mar 13, 2024 via email

@VietHungPhan
Copy link
Author

Please close the issue. I have switched to gcc/13.2.0 and it works fine. 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