-
Notifications
You must be signed in to change notification settings - Fork 91
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
warning: left shift count >= width of type #4
Comments
Weird, this only happens with GCC 6, but GCC 7 compiles without errors. The BoundedConstexprValue function should trap these errors, but maybe there's something odd with how GCC 6 handles constexpr functions. Try HEAD now (534c1d8) and let me know if you still have any issues. |
Note to self, this probably should be fixed by properly supporting SFINAE but getting cross-compilation support with SFINAE is probably pretty painful. |
Ticket has been idle for a while, a fix has been committed, so I'm going to close this issue. |
Hello:
After fixing #3 (thanks for that), I'm now noticing the subject warning:
In order to reproduce I clone and update to HEAD (7421f32). I then go to test/prj/gcc and finally I issue make.
I'm on debian stretch and gcc version is:
build.log
The text was updated successfully, but these errors were encountered: