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

Constant expression evaluates to 9223372039002259456 which cannot be narrowed to type 'long long' #2

Open
holmez opened this issue Dec 3, 2015 · 0 comments

Comments

@holmez
Copy link

holmez commented Dec 3, 2015

I got the following error trying to compile in an Xcode project...
"/.../rnnlm-0.4b/fastexp.h:543:11: Constant expression evaluates to 9223372039002259456 which cannot be narrowed to type 'long long'"

Repeated 6 times for the three lines containing "v4sil (0x80000000)"
The macro (line 109) cast as "unsigned long long" but for some reason the compiler is seeing it as "long long" !

I also had issues with "exp10(...)" not recognized but I used "pow(10,...)" instead.

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

1 participant