Menu

#112 log4cpp-0.3.5rc3 doesn't build on cygwin

open
nobody
5
2007-06-07
2007-06-07
Anonymous
No

1. apparently wide characters are not supported on cygwin,
so compilation fails with CategoryStream.hh :
../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-member at class scope
../include/log4cpp/CategoryStream.hh:133: error: expected `;' before '*' token
../include/log4cpp/CategoryStream.hh: In member function `log4cpp::CategoryStream& log4cpp::CategoryStream::operator<<(int)':
../include/log4cpp/CategoryStream.hh:112: error: `_wbuffer' undeclared (first use 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 been declared
../include/log4cpp/CategoryStream.hh:117: error: `t' undeclared (first use this function)

2. Once problem 1. solved, a trailing ';' in Manipulator.hh line 29 also block compilation :
In file included from ../include/log4cpp/CategoryStream.hh:19,
from ../include/log4cpp/Category.hh:17,
from FileAppender.cpp:21:
../include/log4cpp/Manipulator.hh:29: error: extra `;'

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.