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

error: assuming signed overflow does not occur when assuming that (X - c) > X is always false #566

Closed
cyrus-and opened this issue Mar 1, 2016 · 1 comment

Comments

@cyrus-and
Copy link

Something between 9515b9c and ef5e74a (the current master branch) seems to have broken the compilation.

With cmake . && make I get:

[...]
Scanning dependencies of target simplewriter
[100%] Building CXX object example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.cpp.o
In function ‘int main()’:
cc1plus: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
cc1plus: all warnings being treated as errors

According to git bisect the first bad commit is 7f9921f.

I'm using gcc version 4.9.2 (Debian 4.9.2-10).

@miloyip miloyip closed this as completed in 928caf9 Mar 1, 2016
@miloyip
Copy link
Collaborator

miloyip commented Mar 1, 2016

Thank you for your report.

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