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
igraph_error_t should be an enum #1867
Comments
It should just pass all our tests, right? Or do you think extra tests are required? |
Thinking about it, I think the C++ parts of igraph itself should be sufficient to test it. If the library compiles, we're fine. |
igraph_warning takes an igraph_error_t as one of its arguments, but that argument is 0 in one place in the source code, and -1 everywhere else (like in IGRAPH_WARNING). -1 is of course not allowed if igraph_error_t is an enum. Should we just remove the parameter? |
Yes, this can be removed (in igraph 0.10). Please either do it in the |
Fixed in #1948 |
igraph_error_t
should be an enum, now it's a typedef for anint
.Be sure to test with C++.
The text was updated successfully, but these errors were encountered: