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

g++ 7.5.0 build error #62

Closed
Kipt opened this issue Nov 15, 2021 · 2 comments
Closed

g++ 7.5.0 build error #62

Kipt opened this issue Nov 15, 2021 · 2 comments

Comments

@Kipt
Copy link

Kipt commented Nov 15, 2021

Decided to try this one out but couldn't get passed ./build.sh step. Compiler flags the C99 designator expressions as error, a feature that is only available in C++20. I assume later versions of g++ has this implemented as a non-standard extension.

The locations of the errors are windows.cpp:2332:46 and gf2.cpp:1092:1 with compilation error "sorry, unimplemented: non-trivial designated initializers not supported"

What is the minimum compiler version required?

@nakst
Copy link
Owner

nakst commented Nov 15, 2021

Sorry, but I don't know the version history of GCC, so I don't know when this feature was added.
My computer has version 11.1.0, where it compiles without error.

@Kipt
Copy link
Author

Kipt commented Nov 16, 2021

I bit the bullet and changed the initialization to the less readable C++ compliant version locally and that was the only issue I found. If I'll find anything else I'll update GCC to 11.1.0, thanks.

@Kipt Kipt closed this as completed Nov 16, 2021
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