You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Efri Nattel-Shay <ef...@qumranet.com> on 2006/03/08 17:11:30 UTC

Compilation error (0.9.8, 7-Mar-2006 trunk version)

When compiling 0.9.8 on a Linux FC5 machine, (g++ version 4.1), I'm
getting two of the following errors.
An svn diff of the interface without the extra qualification, that
passes compilation and check, is attached.


../include/log4cxx/xml/domconfigurator.h:249: error: extra qualification
'log4cxx::xml::DOMConfigurator::' on member 'subst'


Index: include/log4cxx/helpers/unicodehelper.h
===================================================================
--- include/log4cxx/helpers/unicodehelper.h	(revision 384243)
+++ include/log4cxx/helpers/unicodehelper.h	(working copy)
@@ -95,7 +95,7 @@
             *   @param ch wchar_t value
             *   @return number of bytes required.
             */
-              static int UnicodeHelper::lengthUTF8(wchar_t ch);
+              static int lengthUTF8(wchar_t ch);
 
 #endif
 
Index: include/log4cxx/xml/domconfigurator.h
===================================================================
--- include/log4cxx/xml/domconfigurator.h	(revision 384243)
+++ include/log4cxx/xml/domconfigurator.h	(working copy)
@@ -246,7 +246,7 @@
                 protected:
                         static LogString getAttribute(apr_xml_elem*, 
                             const std::string& attrName); 
-                        LogString DOMConfigurator::subst(const
LogString& value);
+                        LogString subst(const LogString& value);
 
                 protected:
                         helpers::Properties props;


Re: Compilation error (0.9.8, 7-Mar-2006 trunk version)

Posted by Andreas Fester <af...@apache.org>.
Bug report created, patch applied and committed :-)

Thanks,

	Andreas

Efri Nattel-Shay wrote:
> When compiling 0.9.8 on a Linux FC5 machine, (g++ version 4.1), I'm
> getting two of the following errors.
> An svn diff of the interface without the extra qualification, that
> passes compilation and check, is attached.
[...]


Re: Compilation error (0.9.8, 7-Mar-2006 trunk version)

Posted by Andreas Fester <af...@apache.org>.
Bug report created, patch applied and committed :-)

Thanks,

	Andreas

Efri Nattel-Shay wrote:
> When compiling 0.9.8 on a Linux FC5 machine, (g++ version 4.1), I'm
> getting two of the following errors.
> An svn diff of the interface without the extra qualification, that
> passes compilation and check, is attached.
[...]