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

different result from godbolt #604

Closed
organicoman opened this issue Jan 19, 2024 · 1 comment
Closed

different result from godbolt #604

organicoman opened this issue Jan 19, 2024 · 1 comment

Comments

@organicoman
Copy link

https://godbolt.org/z/8voTfe1Y1

@andreasfertig
Copy link
Owner

Hello @organicoman,

thanks for opening an issue. I like chasing bugs. I like chasing what the bug is less. From your short issue description, I can only guess. Here is my guess.

You noticed that the code you linked compiles on Godbolt but is rejected with a compiler error on cppinsights.io. The link you provided to CE uses gcc as a compiler. However, C++ Insights is a Clang-based tool. Switching the CE compiler to Clang also results in a compiler error on Godbolt.

Based on my guess, this is not a C++ Insights issue. I hope I guessed right and this helps.

Andreas

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