[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4cxx-dev
Subject:    [jira] [Created] (LOGCXX-460) C++ compiler error
From:       "Sameer Kadam (JIRA)" <log4cxx-dev () logging ! apache ! org>
Date:       2015-12-09 8:00:22
Message-ID: JIRA.12920351.1449647996000.310135.1449648022443 () Atlassian ! JIRA
[Download RAW message or body]

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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic