Skip to content

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

Description

@holmez

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions