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

FYI: Warnings during compilation #7311

Closed
LeventErkok opened this issue Jul 26, 2024 · 0 comments
Closed

FYI: Warnings during compilation #7311

LeventErkok opened this issue Jul 26, 2024 · 0 comments

Comments

@LeventErkok
Copy link

g++ complains:

../src/nlsat/nlsat_simplify.cpp:156:25: warning: 5 enumeration values not handled in switch: 'ROOT_EQ', 'ROOT_LT', 'ROOT_GT'... [-Wswitch]
                switch (a.get_kind()) {
                        ^~~~~~~~~~~~
../src/nlsat/nlsat_simplify.cpp:156:25: note: add missing switch cases
                switch (a.get_kind()) {

Perhaps unreachable code, but would be good to add explicit matches and error out just in case.

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

1 participant