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

C++ compiler error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: