Post
Topic
Board Bitcoin Discussion
Re: Bitcoin Core 0.10.0 has been released
by
TurdHurdur
on 21/02/2015, 21:43:17 UTC
Trying to build on Debian 6 LTS I get:

Code:
helpers/memenv/memenv.cc:65: error: ‘SIZE_MAX’ was not declared in this scope

Any idea how to remedy this?
My guess is you are running on a version of GCC which is at least outdated by 4 years of hard work. But if you dont post more details, I cant tell you more.
Think I fixed it, inserted the following at line 5 of src/leveldb/helpers/memenv.h and it compiles fine.

Code:
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif