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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.3.0
    • 4.8.2
    • None
    • Windows 7, MSVC 2010 64-bit native without Windows 7 SDK

      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)

        1. bug_backtrace.txt
          1 kB
          Casper van Donderen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes