Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8188

Invalid type qualifiers causes build failure on GCC 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: qpid-cpp-1.38.0
    • Fix Version/s: qpid-cpp-1.39.0
    • Component/s: C++ Broker
    • Labels:
      None
    • Environment:

      Gentoo x64, GCC 8.1

      Description

      [ 30%] Building CXX object src/CMakeFiles/qpidcommon.dir/qpid/sys/Dispatcher.cpp.o
      /home/chrisr/projects/qpid/qpid-cpp/source/src/qpid/log/Statement.cpp: In static member function ‘static qpid::log::Category qpid::log::CategoryFileNameHints::categoryOf(const char*)’:
      /home/chrisr/projects/qpid/qpid-cpp/source/src/qpid/log/Statement.cpp:121:50: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]
      if (strstr(fName, (const char* const)it->first) != 0) {

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jross Justin Ross
                Reporter:
                crichardson Chris Richardson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: