Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
OS:
Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
kernel:
Linux qw-as3u4-32-dev 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux
g++ version:
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)
SVN:
https://svn.apache.org/repos/asf/logging/log4cxx/trunk
Description
1.
compile error and intermit. ,:
syslogappender.cpp:290: instantiated from here /usr/include/c++/3.2.3/bits/basic_string.h:688: no type named `
iterator_category' in `struct std::iterator_traits<int>'
this is a stl type incomplete , i replace all std::string append a char as bellow example.
sbuf.append(1, 0x3E /* '>' */);
====>
sbuf.append(1, (char)0x3E /* '>' */);
2. compile socketservertestcase.cpp ,because it not found teh ::fork() function
and i include the head file :
inlcude <unistd.h>