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

Windows CE: Autotest compile failure in tst_qatomicinteger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 Beta1
    • 5.3.0 Beta1
    • Core: Threads
    • Windows CE, VS2008
    • b22ef5966360b36d17cc38df16927d1637f05d08. (stable, 4.3.2014, 5.3)

    Description

      For type 'char':

      .\tst_qatomicinteger.cpp(189) : error C2027: use of undefined type 'QStaticAssertFailure<Test>'
              with
              [
                  Test=false
              ]
      jom: C:\work\build\qt\qtbase\tests\auto\corelib\thread\qatomicinteger\char\Makefile.Release [.obj\release\tst_qatomicinteger.obj] Error 2
      jom: C:\work\build\qt\qtbase\tests\auto\corelib\thread\qatomicinteger\char\Makefile [release] Error 2
      jom: C:\work\build\qt\qtbase\tests\auto\corelib\thread\qatomicinteger\Makefile [sub-char-make_first] Error 2
      

      in

      void tst_QAtomicIntegerXX::static_checks()
      {
          Q_STATIC_ASSERT(sizeof(QAtomicInteger<T>) == sizeof(T));
      -->    Q_STATIC_ASSERT(Q_ALIGNOF(QAtomicInteger<T>) == Q_ALIGNOF(TypeInStruct<T>));
      

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes