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.