Sameer Kadam created LOGCXX-460:
-----------------------------------

             Summary: C++ compiler error
                 Key: LOGCXX-460
                 URL: https://issues.apache.org/jira/browse/LOGCXX-460
             Project: Log4cxx
          Issue Type: Bug
          Components: Appender
    Affects Versions: 0.10.0
         Environment: RedHat Linux 6.2
            Reporter: Sameer Kadam


I am getting the following error while including log4cxx
 
...../include/log4cxx/writerappender.h:160: error: ‘virtual 
log4cxx::helpers::WriterPtr 
log4cxx::WriterAppender::createWriter(log4cxx::helpers::OutputStreamPtr&)’ was 
hidden
....../include/log4cxx/consoleappender.h:72: error:   by ‘static 
log4cxx::helpers::WriterPtr log4cxx::ConsoleAppender::createWriter(const 
log4cxx::LogString&)’

I suspect its because we use the following 2 flags with the C++ compiler
-Woverloaded-virtual
-Werror




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to