When i install log4cpp-0.3.5rc3 to the cygwin by the
command : ./configure;make;make install
A lot of errors occur as following:
../include/log4cpp/Manipulator.hh:29: error: extra `;'
In file included
from ../include/log4cpp/Category.hh:17,
from FileAppender.cpp:21:
../include/log4cpp/CategoryStream.hh:110: error:
expected unqualified-id before
'&' token
../include/log4cpp/CategoryStream.hh:110: error:
expected `,' or `...' before '&
' token
../include/log4cpp/CategoryStream.hh:110: error: ISO
C++ forbids declaration of
`parameter' with no type
../include/log4cpp/CategoryStream.hh:133: error:
using-declaration for non-membe
r at class scope
../include/log4cpp/CategoryStream.hh:133: error:
expected `;' before '*' token
../include/log4cpp/CategoryStream.hh: In member
function `log4cpp::CategoryStrea
m& log4cpp::CategoryStream::operator<<(int)':
../include/log4cpp/CategoryStream.hh:112: error:
`_wbuffer' undeclared (first us
e this function)
../include/log4cpp/CategoryStream.hh:112: error:
(Each undeclared identifier is
reported only once for each function it appears in.)
../include/log4cpp/CategoryStream.hh:113: error:
`std::wostringstream' has not b
een declared
../include/log4cpp/CategoryStream.hh:117: error: `t'
undeclared (first use this
function)
make[1]: *** [FileAppender.lo] Error 1
make[1]: Leaving directory
`/home/cayuan/source/useful/log4cpp-0.3.5rc3/src'
make: *** [install-recursive] Error 1