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 "Thorsten Schöning (JIRA)" <lo...@logging.apache.org> on 2015/12/09 10:03:10 UTC
[jira] [Comment Edited] (LOGCXX-460) C++ compiler error
[ https://issues.apache.org/jira/browse/LOGCXX-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048321#comment-15048321 ]
Thorsten Schöning edited comment on LOGCXX-460 at 12/9/15 9:03 AM:
-------------------------------------------------------------------
This looks fixed already, please try again with a current HEAD checkout from SVN.
https://logging.apache.org/log4cxx/source-repository.html
A hint if LOGCXX-267 didn't fix it:
http://stackoverflow.com/questions/9995421/gcc-woverloaded-virtual-warnings
was (Author: tschoening):
This looks fixed already, please try again with a current HEAD checkout from SVN.
https://logging.apache.org/log4cxx/source-repository.html
> 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)