32-bit compilation fails due to broken INT64 macro
Bug #519470 reported by
Alex Yurchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-tools |
Confirmed
|
Low
|
Unassigned |
Bug Description
$ g++ -m32 -g -m32 -O2 -Wall -D__STDC_
D__STDC_
o ../obj/CE.o
In file included from ../src/
../src/
large for ‘long’ type
../src/
const INT64 iFinancialOutBa
Changed in perconatools: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Yasufumi Kinoshita (yasufumi-kinoshita) |
importance: | Medium → Low |
Changed in perconatools: | |
assignee: | Yasufumi Kinoshita (yasufumi-kinoshita) → nobody |
To post a comment you must log in.
Problem seems to be in the representation of 64bit constant. ble.h:69, like this:
Modifying inc/FinancialTa
const INT64 iFinancialOutBa sicMax = 9500000000LL;
or, like this:
const INT64 iFinancialOutBa sicMax = INT64_C( 9500000000) ;
...makes it possible to build in 32bit platform.
(not sure if it runs, but build completes, at least...)