当我根据http://logging.apache.org/log4cxx/building/vstudio.html的说明在 Visual 2005 上构建 log4cxx时,出现以下错误;
1>------ Build started: Project: apr, Configuration: Debug Win32 ------
1>Compiling...
1>userinfo.c
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcndr.h(145) : error C2059: syntax error : ':'
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcndr.h(898) : error C2059: syntax error : ','
.
.
.
1>c:\program files\microsoft visual studio 8\vc\platformsdk\include\rpcndr.h(3119) : fatal error C1003: error count exceeds 100; stopping compilation
单击第一个错误时,将移动到下面的代码
/****************************************************************************
* Other MIDL base types / predefined types:
****************************************************************************/
typedef unsigned char byte;
typedef ::byte cs_byte; // error indicates here
有意见吗??
谢谢