Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8304005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:41:57+00:00 2026-06-08T17:41:57+00:00

I am working on cross-compiling libbtbb to Android, and I am getting a ton

  • 0

I am working on cross-compiling libbtbb to Android, and I am getting a ton of warnings that say:

jni/libbtbb/bluetooth_packet.h:67: warning: integer constant is too large for 'long' type

However, when I dig in to the file, this points to the line:

static const uint64_t sw_matrix[] = {
    0xfe000002a0d1c014, 0x01000003f0b9201f, 0x008000033ae40edb, 0x004000035fca99b9,
    0x002000036d5dd208, 0x00100001b6aee904, 0x00080000db577482, 0x000400006dabba41,
    0x00020002f46d43f4, 0x000100017a36a1fa, 0x00008000bd1b50fd, 0x000040029c3536aa,
    0x000020014e1a9b55, 0x0000100265b5d37e, 0x0000080132dae9bf, 0x000004025bd5ea0b,
    0x00000203ef526bd1, 0x000001033511ab3c, 0x000000819a88d59e, 0x00000040cd446acf,
    0x00000022a41aabb3, 0x0000001390b5cb0d, 0x0000000b0ae27b52, 0x0000000585713da9};

The type is uint64_t, and not “long” … but it seems to be referring to specifying the constant like 0xfe000002a0d1c014. In this case, I’m not sure how else it should be specified, or if I can ignore these warnings.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:42:00+00:00Added an answer on June 8, 2026 at 5:42 pm

    Add the ULL suffix to your 64-bit integer constants or enclose them in the verbose UINT64_C macro from stdint.h.

    static const uint64_t sw_matrix[] = {
        0xfe000002a0d1c014ULL, /* etc. */ };
    

    or

    #include <stdint.h>
    
    static const uint64_t sw_matrix[] = {
        UINT64_C(0xfe000002a0d1c014), /* etc. */ };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a cross platform OpenGL project and it seems that all
If I'm working on a cross-platform project that uses dbus-java, what do I need
I have code that relies heavily on yaml for cross-language serialization and while working
I am working on a cross-platform mobile game for Android and iOS devices. I
I am working on a cross platform that needs to use a database to
Need to be cross-device -working for every mobile manufacturer that gives support to JavaME
I'm trying to get a working gcc cross-compiler created that lives on my local
I am working on my first project that requires me to worry about cross
I am working on creating a RESTful API that supports cross-domain requests, JSON/JSONP support,
I'm working on a cross platform project that uses STL. The other compiler includes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.