Anonymous - 2002-02-26

Having problems making on SunOS 5.8 w/GCC 3.0.1:

while running "make":
...
rm -f .libs/PatternLayout.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -pedantic -c PatternLayout.cpp  -fPIC -DPIC -o PatternLayout.o
PatternLayout.cpp: In member function `std::string
   log4cpp::PatternLayout::doFormat(const log4cpp::LoggingEvent&,
   std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
   bool*)':
PatternLayout.cpp:134: ambiguous overload for `log4cpp::OstringStream& <<
   int64_t&' operator
/usr/local/include/g++-v3/bits/ostream.tcc:140: candidates are:
   std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
   _Traits>::operator<<(long int) [with _CharT = char, _Traits =
   std::char_traits<char>]
/usr/local/include/g++-v3/bits/ostream.tcc:177:                
   std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
   _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits =
   std::char_traits<char>]

Help!

Chuck Lamprey