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

shifting a negative signed value is undefined #235

Open
dimpase opened this issue Nov 23, 2017 · 1 comment
Open

shifting a negative signed value is undefined #235

dimpase opened this issue Nov 23, 2017 · 1 comment
Labels
Milestone

Comments

@dimpase
Copy link
Contributor

dimpase commented Nov 23, 2017

building with clang points out at this apparent gnu-ism:

bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I..  -D__GMP_WITHIN_GMP -I..   -g -c -o ior.lo ior.c
inp_raw.c:78:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    csize |= (mp_size_t)(-1) << 32;
             ~~~~~~~~~~~~~~~ ^
@wbhart
Copy link
Owner

wbhart commented Nov 23, 2017 via email

@wbhart wbhart added this to the MPIR 3.0.0 milestone Jan 30, 2018
@wbhart wbhart added the bug label Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants