[prev in list] [next in list] [prev in thread] [next in thread]
List: log4cxx-dev
Subject: [jira] [Comment Edited] (LOGCXX-460) C++ compiler error
From: Thorsten_Schöning_(JIRA) <log4cxx-dev () logging ! apache ! org>
Date: 2015-12-09 9:03:10
Message-ID: JIRA.12920351.1449647996000.310659.1449651790959 () Atlassian ! JIRA
[Download RAW message or body]
[ 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic