Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26101

QBasicAtomicPointer template broken when "const T*" is used as argument with MSVC 2010 / 64-bit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.2
    • Fix Version/s: 5.3.0
    • Labels:
      None
    • Environment:
      Windows 7, MSVC 2010 64-bit native without Windows 7 SDK

      Description

      When compiling Qt DBus with 4.8.2 on MSVC 2010 64-bit a compilation error appears in bool QBasicAtomicPointer<T>::testAndSetOrdered(T *,T *). which is defined in src/corelib/arch/qatomic_windows.h:348

      This problem has appeared on other platforms already, see for example Qt commits 8108650b24adbe03543eb29015ea9bda86d0068e, a444061bf8044776ae7266a2a9f63dc8eb534d79

      This problem does not appear with Qt5

      (A short backtrace is attached)

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            cvandonderen Casper van Donderen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes