On MacOS X, time_t is a typedef for long. In order to
compile bitcoin-seeder on MacOS X we need to not
use time_t, and instead use int64_t.
Details
Details
- Reviewers
kyuupichan deadalnix freetrader - Group Reviewers
Restricted Project - Commits
- rSTAGING5223ee075e1b: Update seeder to use int64_t instead of time_t for Darwin
rABC5223ee075e1b: Update seeder to use int64_t instead of time_t for Darwin
make VERBOSE=1 check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- shammah/fix-seeder-macosx
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 938 Build 938: arc lint + arc unit
Event Timeline
Comment Actions
I suspect this is totally wrong due to 64bit vs 32bit. This probably should not be merged. I'll look at a more comprehensive fix.
src/serialize.h | ||
---|---|---|
191 ↗ | (On Diff #1479) | The size of a long is system dependent, you can't do that. |
src/seeder/db.h | ||
---|---|---|
287 ↗ | (On Diff #1481) | Why unsigned here and signed everywhere else? |
Comment Actions
Builds and makes check for me.
I still have warnings on Mac, I'll try and squash those myself.