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

QT_WARNING_DISABLE_* macros do not work under QCC (8.3.0)

    XMLWordPrintable

Details

    • QNX
    • 55136998b3 (qt/qtbase/dev) 55136998b3 (qt/tqtc-qtbase/dev) a2a9639fe5 (qt/tqtc-qtbase/6.3.0)

    Description

      agent:2022/03/02 14:01:59 build.go:394: [182/1195] /opt/qnx710/host/linux/x86_64/usr/bin/q++ -Vgcc_ntox86_64 -Wc,-isysroot,/opt/qnx710/target/qnx7 -lang-c++ -DCore_EXPORTS -DPCRE2_CODE_UNIT_WIDTH=16 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_MOC_COMPAT -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE -DQT_STRICT_QLIST_ITERATORS -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -I/home/qt/work/qt/qtbase/build/target/src/corelib/Core_autogen/include -I/home/qt/work/qt/qtbase/build/target/include -I/home/qt/work/qt/qtbase/build/target/include/QtCore -I/home/qt/work/qt/qtbase/src/corelib -I/home/qt/work/qt/qtbase/build/target/src/corelib -I/home/qt/work/qt/qtbase/build/target/src/corelib/global -I/home/qt/work/qt/qtbase/build/target/src/corelib/kernel -I/home/qt/work/qt/qtbase/src/corelib/../3rdparty/tinycbor/src -I/home/qt/work/qt/qtbase/build/target/include/QtCore/6.4.0 -I/home/qt/work/qt/qtbase/build/target/include/QtCore/6.4.0/QtCore -I/home/qt/work/qt/qtbase/src/corelib/../3rdparty/double-conversion/double-conversion -I/home/qt/work/qt/qtbase/src/corelib/../3rdparty/double-conversion -I/home/qt/work/qt/qtbase/src/corelib/../3rdparty/forkfd -I/home/qt/work/qt/qtbase/build/target/src/corelib/.rcc -I/home/qt/work/qt/qtbase/mkspecs/qnx-x86-64-qcc -I/home/qt/work/qt/qtbase/src/3rdparty/pcre2/src -g -DNDEBUG -g -DNDEBUG -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -std=gnu++17 -Winvalid-pch -include /home/qt/work/qt/qtbase/build/target/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx -Wp,-MD,src/corelib/CMakeFiles/Core.dir/kernel/qtimer.cpp.o.d -Wp,-MT,src/corelib/CMakeFiles/Core.dir/kernel/qtimer.cpp.o -Wp,-MF,src/corelib/CMakeFiles/Core.dir/kernel/qtimer.cpp.o.d -o src/corelib/CMakeFiles/Core.dir/kernel/qtimer.cpp.o -c /home/qt/work/qt/qtbase/src/corelib/kernel/qtimer.cpp
      agent:2022/03/02 14:01:59 build.go:394: In file included from /opt/qnx710/target/qnx7/usr/include/c++/v1/cstddef:45,
      agent:2022/03/02 14:01:59 build.go:394: from /opt/qnx710/target/qnx7/usr/include/c++/v1/type_traits:406,
      agent:2022/03/02 14:01:59 build.go:394: from /home/qt/work/qt/qtbase/src/corelib/global/qglobal.h:45,
      agent:2022/03/02 14:01:59 build.go:394: from /home/qt/work/qt/qtbase/build/target/include/QtCore/qglobal.h:1,
      agent:2022/03/02 14:01:59 build.go:394: from /home/qt/work/qt/qtbase/src/corelib/global/qt_pch.h:56,
      agent:2022/03/02 14:01:59 build.go:394: from /home/qt/work/qt/qtbase/build/target/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx:5,
      agent:2022/03/02 14:01:59 build.go:394: from <command-line>:
      agent:2022/03/02 14:01:59 build.go:394: /home/qt/work/qt/qtbase/src/corelib/kernel/qtimer.cpp: In static member function 'static constexpr size_t QTimerPrivate::_qt_property_isActiveData_offset()':
      agent:2022/03/02 14:01:59 build.go:394: /home/qt/work/qt/qtbase/src/corelib/kernel/qtimer.cpp:64:32: warning: offsetof within non-standard-layout type 'QTimerPrivate' is conditionally-supported [-Winvalid-offsetof]
      agent:2022/03/02 14:01:59 build.go:394: Q_OBJECT_COMPUTED_PROPERTY(QTimerPrivate, bool, isActiveData,
      agent:2022/03/02 14:01:59 build.go:394: /home/qt/work/qt/qtbase/src/corelib/kernel/qtimer.cpp:64:5: note: in expansion of macro 'Q_OBJECT_COMPUTED_PROPERTY'
      agent:2022/03/02 14:01:59 build.go:394: Q_OBJECT_COMPUTED_PROPERTY(QTimerPrivate, bool, isActiveData,
      agent:2022/03/02 14:01:59 build.go:394: ^~~~~~~~~~~~~~~~~~~~~~~~~~
      

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              papetaja Pasi Petäjäjärvi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes