You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ca...@apache.org on 2008/05/20 18:05:37 UTC

svn commit: r658304 - in /logging/log4cxx/trunk/src: changes/changes.xml examples/cpp/console.cpp main/cpp/inputstreamreader.cpp main/cpp/socketoutputstream.cpp

Author: carnold
Date: Tue May 20 09:05:37 2008
New Revision: 658304

URL: http://svn.apache.org/viewvc?rev=658304&view=rev
Log:
LOGCXX-286: gcc 4.3 requires #include <cstring>

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/examples/cpp/console.cpp
    logging/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp
    logging/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=658304&r1=658303&r2=658304&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Tue May 20 09:05:37 2008
@@ -39,6 +39,7 @@
 <action issue="LOGCXX-283">Suspicious, but harmless, reuse of LOCAL1 in SyslogAppender</action>
 <action issue="LOGCXX-284">Unit tests fail to compile with xlc_r on AIX</action>
 <action issue="LOGCXX-285">LevelRangeFilter has default value for acceptOnMatch that is different from log4j</action>
+<action issue="LOGCXX-286">gcc 4.3 requires #include &lt;cstring&gt; when using memcpy and related.</action> 
 </release>
 <release version="0.10.0" date="2008-04-03" description="First Apache release">
 <action issue="LOGCXX-2">logger.h includes config.h</action>

Modified: logging/log4cxx/trunk/src/examples/cpp/console.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/examples/cpp/console.cpp?rev=658304&r1=658303&r2=658304&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/examples/cpp/console.cpp (original)
+++ logging/log4cxx/trunk/src/examples/cpp/console.cpp Tue May 20 09:05:37 2008
@@ -22,6 +22,7 @@
 #include <log4cxx/logmanager.h>
 #include <iostream>
 #include <locale.h>
+#include <cstring>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;

Modified: logging/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp?rev=658304&r1=658303&r2=658304&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/inputstreamreader.cpp Tue May 20 09:05:37 2008
@@ -20,6 +20,7 @@
 #include <log4cxx/helpers/exception.h>
 #include <log4cxx/helpers/pool.h>
 #include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;

Modified: logging/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp?rev=658304&r1=658303&r2=658304&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp (original)
+++ logging/log4cxx/trunk/src/main/cpp/socketoutputstream.cpp Tue May 20 09:05:37 2008
@@ -19,6 +19,7 @@
 #include <log4cxx/helpers/socketoutputstream.h>
 #include <log4cxx/helpers/socket.h>
 #include <log4cxx/helpers/bytebuffer.h>
+#include <cstring>
 
 using namespace log4cxx;
 using namespace log4cxx::helpers;