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

gcc error: "dereferencing pointer 'pretmp.2013' does break strict-aliasing rules"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.10
    • JIRA Cleanup
    • C++ Client
    • None
    • Linux 2.6.39-gentoo-r2
      gcc 4.4.5
      glibc 2.12.2

    Description

      GCC reports error when compiling Qpid C++ broker & client:
      ../include/qpid/framing/DeliveryProperties.h: In member function 'bool qpid::client::LocalQueueImpl::get(qpid::client::Message&, qpid::sys::Duration)':
      ../include/qpid/framing/DeliveryProperties.h:38: error: dereferencing pointer 'pretmp.2013' does break strict-aliasing rules
      ... more errors

      Steps to reproduce:
      1. wget "http://www.apache.org/dyn/closer.cgi/qpid/0.10/qpid-cpp-0.10.tar.gz"
      2. tar zxf qpid-cpp-0.10.tar.gz
      3. cd qpidc-0.10
      4. ./configure
      5. make

      Attachments

        Activity

          People

            Unassigned Unassigned
            analizer Dmitry Potapov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: