While compiling my project under Windows XP with Visual Studio 2005
with log4cpp and boost (x86_64 and i386 system) I get the following error messages:
Error 190 error C2589: '__int64' : illegal token on right side of '::'
P:\...\include\boost\date_time\time_resolution_traits.hpp 47
I found out that there is the following define in the include file config-win32.h (line 20):
/* define if the compiler has int64_t */
#ifndef LOG4CPP_HAVE_INT64_T
#define LOG4CPP_HAVE_INT64_T
#define int64_t __int64
using a typedef solves that problem
typedef __int64 int64_t;
applied attached patch and checked with 'make clean check' ... but only on linux (my gentoo system) ... hope the bug is fixed now