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/09 09:08:23 UTC

svn commit: r654700 - in /logging/log4cxx/trunk/src: changes/ main/include/log4cxx/pattern/

Author: carnold
Date: Fri May  9 00:08:23 2008
New Revision: 654700

URL: http://svn.apache.org/viewvc?rev=654700&view=rev
Log:
LOGCXX-281: Sun Studio 11 reports function hides base virtual function warning

Modified:
    logging/log4cxx/trunk/src/changes/changes.xml
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/filelocationpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/fulllocationpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/levelpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/linelocationpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/messagepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/methodlocationpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/ndcpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/propertiespatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/relativetimepatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/threadpatternconverter.h
    logging/log4cxx/trunk/src/main/include/log4cxx/pattern/throwableinformationpatternconverter.h

Modified: logging/log4cxx/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/changes/changes.xml?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/changes/changes.xml (original)
+++ logging/log4cxx/trunk/src/changes/changes.xml Fri May  9 00:08:23 2008
@@ -31,6 +31,7 @@
 <action issue="LOGCXX-272">Apache log4cxx 0.10.1 release</action>
 <action issue="LOGCXX-275">Headers cannot be included with very strict warning settings</action>
 <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 virtual function warning</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/main/include/log4cxx/pattern/classnamepatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/classnamepatternconverter.h Fri May  9 00:08:23 2008
@@ -55,6 +55,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr&event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/datepatternconverter.h Fri May  9 00:08:23 2008
@@ -62,6 +62,12 @@
 
  static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
+
+
+  using PatternConverter::format;
+  using LoggingEventPatternConverter::format;
+
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& output,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/filelocationpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/filelocationpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/filelocationpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/filelocationpatternconverter.h Fri May  9 00:08:23 2008
@@ -52,6 +52,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/fulllocationpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/fulllocationpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/fulllocationpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/fulllocationpatternconverter.h Fri May  9 00:08:23 2008
@@ -52,6 +52,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/levelpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/levelpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/levelpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/levelpatternconverter.h Fri May  9 00:08:23 2008
@@ -50,6 +50,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/linelocationpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/linelocationpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/linelocationpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/linelocationpatternconverter.h Fri May  9 00:08:23 2008
@@ -52,6 +52,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/lineseparatorpatternconverter.h Fri May  9 00:08:23 2008
@@ -54,6 +54,9 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using PatternConverter::format;
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/literalpatternconverter.h Fri May  9 00:08:23 2008
@@ -52,6 +52,9 @@
 
   static PatternConverterPtr newInstance(const LogString& literal);
 
+  using PatternConverter::format;
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/loggerpatternconverter.h Fri May  9 00:08:23 2008
@@ -55,6 +55,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/messagepatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/messagepatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/messagepatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/messagepatternconverter.h Fri May  9 00:08:23 2008
@@ -51,6 +51,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/methodlocationpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/methodlocationpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/methodlocationpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/methodlocationpatternconverter.h Fri May  9 00:08:23 2008
@@ -52,6 +52,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/ndcpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/ndcpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/ndcpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/ndcpatternconverter.h Fri May  9 00:08:23 2008
@@ -51,6 +51,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/propertiespatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/propertiespatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/propertiespatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/propertiespatternconverter.h Fri May  9 00:08:23 2008
@@ -61,6 +61,9 @@
    */
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
+
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/relativetimepatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/relativetimepatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/relativetimepatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/relativetimepatternconverter.h Fri May  9 00:08:23 2008
@@ -50,6 +50,9 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
       LogString& toAppendTo,
       log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/threadpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/threadpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/threadpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/threadpatternconverter.h Fri May  9 00:08:23 2008
@@ -50,6 +50,8 @@
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
 
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
         LogString& toAppendTo,
         log4cxx::helpers::Pool& p) const;

Modified: logging/log4cxx/trunk/src/main/include/log4cxx/pattern/throwableinformationpatternconverter.h
URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/include/log4cxx/pattern/throwableinformationpatternconverter.h?rev=654700&r1=654699&r2=654700&view=diff
==============================================================================
--- logging/log4cxx/trunk/src/main/include/log4cxx/pattern/throwableinformationpatternconverter.h (original)
+++ logging/log4cxx/trunk/src/main/include/log4cxx/pattern/throwableinformationpatternconverter.h Fri May  9 00:08:23 2008
@@ -59,6 +59,9 @@
    */
   static PatternConverterPtr newInstance(
     const std::vector<LogString>& options);
+
+  using LoggingEventPatternConverter::format;
+
   void format(const log4cxx::spi::LoggingEventPtr& event,
      LogString& toAppendTo,
      log4cxx::helpers::Pool& p) const;