Author: carnold
Date: Mon May 12 13:32:56 2008
New Revision: 655634
URL: http://svn.apache.org/viewvc?rev=655634&view=rev
Log:
LOCCXX-284: Unit tests fail to compile with xlc_r on AIX
Modified:
logging/log4cxx/trunk/src/changes/changes.xml
logging/log4cxx/trunk/src/test/cpp/helpers/datetimedateformattestcase.cpp
Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=655634&r1=655633&r2=655634&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Mon May 12 13:32:56 2008
@@ -36,6 +36,7 @@
<action issue="LOGCXX-280">tests and sample code unnecessarily compiled during
default make target</action>
<action issue="LOGCXX-281">Sun Studio 11 reports function hides base virtual
function warning</action>
<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>
</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/test/cpp/helpers/datetimedateformattestcase.cpp
URL:
http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/helpers/datetimedateformattestcase.cpp?rev=655634&r1=655633&r2=655634&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/test/cpp/helpers/datetimedateformattestcase.cpp
(original)
+++ logging/log4cxx/trunk/src/test/cpp/helpers/datetimedateformattestcase.cpp
Mon May 12 13:32:56 2008
@@ -181,7 +181,7 @@
// output the using STL
//
std::basic_ostringstream<logchar> buffer;
-#if defined(_USEFAC)
+#if defined(_MSC_VER) && _MSC_VER < 1300
_USEFAC(locale, std::time_put<logchar>)
.put(buffer, buffer, &date, fmt.c_str(), fmt.c_str() +
fmt.length());
#else