Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcompiler error #495
compiler error #495
Comments
|
There are not boolean values in C, Please post the error. |
|
Here is the compiler error message. PyLong_Check returns third_party/py/pygit2/src/diff.c:485:29: error: comparison of constant 0 On Fri, Feb 20, 2015 at 3:52 AM, J. David Ibáñez notifications@github.com
|
|
Good catch, should be fixed with latest commit. |
When I compile src/diff.c I get an error for the following code in Diff_getitem:
Apparently PyLong_Check returns a boolean, which can never be negative,
so the test will never succeed.