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

Windows CE: Autotest compile failure in tst_qatomicinteger

XMLWordPrintable

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

      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>));
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes