Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-460

C++ compiler error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • None
    • Appender
    • None
    • RedHat Linux 6.2

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sameer_kadam@yahoo.com Sameer Kadam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: