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

warning: unknown option after '#pragma GCC diagnostic'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.9
    • GUI: Other
    • None
    • QNX

    Description

      Please check the latest Coin logs for QNX builds and check the warning messages with search string "warning: unknown option after '#pragma GCC diagnostic'"

      See for example:

       q++ -Vgcc_ntoarmv7le -c -mfpu=neon -O2 -fstack-protector-strong -Wc,-std=gnu++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -shared -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../safecontentprovider -I../messagesenderplugin -I../saferenderer -IC:/Users/qt/work/install/include/QtQuick/5.15.9 -IC:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick -IC:/Users/qt/work/install/include -IC:/Users/qt/work/install/include/QtQuick -IC:/Users/qt/work/install/include/QtGui/5.15.9 -IC:/Users/qt/work/install/include/QtGui/5.15.9/QtGui -IC:/Users/qt/work/install/include/QtGui -IC:/Users/qt/work/install/include/QtQmlModels/5.15.9 -IC:/Users/qt/work/install/include/QtQmlModels/5.15.9/QtQmlModels -IC:/Users/qt/work/install/include/QtQmlModels -IC:/Users/qt/work/install/include/QtQml/5.15.9 -IC:/Users/qt/work/install/include/QtQml/5.15.9/QtQml -IC:/Users/qt/work/install/include/QtQml -IC:/Users/qt/work/install/include/QtNetwork -IC:/Users/qt/work/install/include/QtCore/5.15.9 -IC:/Users/qt/work/install/include/QtCore/5.15.9/QtCore -IC:/Users/qt/work/install/include/QtCore -I.moc -Ic:/qnx700/target/qnx7/usr/include/openssl1_1 -Ic:/qnx700/target/qnx7/usr/include -Ic:/qnx700/target/qnx7/usr/include/freetype2 -IC:/Users/qt/work/install/mkspecs/qnx-armle-v7-qcc -o .obj/qsafemessagesender.obj qsafemessagesender.cpp In file included from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qsgadaptationlayer_p.h:66:0,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickshadereffectsource_p.h:60,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickitem_p.h:81,                  from qquicksafeimage.cpp:29: C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h: In constructor 'QDataBuffer::QDataBuffer(int)': C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h:70:24: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]              QT_WARNING_DISABLE_GCC("-Walloc-size-larger-than=")                         ^ q++ -Vgcc_ntoarmv7le -c -mfpu=neon -O2 -fstack-protector-strong -Wc,-std=gnu++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -shared -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../safecontentprovider -I../messagesenderplugin -I../saferenderer -IC:/Users/qt/work/install/include/QtQuick/5.15.9 -IC:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick -IC:/Users/qt/work/install/include -IC:/Users/qt/work/install/include/QtQuick -IC:/Users/qt/work/install/include/QtGui/5.15.9 -IC:/Users/qt/work/install/include/QtGui/5.15.9/QtGui -IC:/Users/qt/work/install/include/QtGui -IC:/Users/qt/work/install/include/QtQmlModels/5.15.9 -IC:/Users/qt/work/install/include/QtQmlModels/5.15.9/QtQmlModels -IC:/Users/qt/work/install/include/QtQmlModels -IC:/Users/qt/work/install/include/QtQml/5.15.9 -IC:/Users/qt/work/install/include/QtQml/5.15.9/QtQml -IC:/Users/qt/work/install/include/QtQml -IC:/Users/qt/work/install/include/QtNetwork -IC:/Users/qt/work/install/include/QtCore/5.15.9 -IC:/Users/qt/work/install/include/QtCore/5.15.9/QtCore -IC:/Users/qt/work/install/include/QtCore -I.moc -Ic:/qnx700/target/qnx7/usr/include/openssl1_1 -Ic:/qnx700/target/qnx7/usr/include -Ic:/qnx700/target/qnx7/usr/include/freetype2 -IC:/Users/qt/work/install/mkspecs/qnx-armle-v7-qcc -o .obj/qsafeevent.obj ../saferenderer/qsafeevent.cpp In file included from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qsgadaptationlayer_p.h:66:0,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickshadereffectsource_p.h:60,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickitem_p.h:81,                  from qquicksafepicture.cpp:29: C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h: In constructor 'QDataBuffer::QDataBuffer(int)': C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h:70:24: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]              QT_WARNING_DISABLE_GCC("-Walloc-size-larger-than=")                         ^ In file included from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qsgadaptationlayer_p.h:66:0,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickshadereffectsource_p.h:60,                  from C:/Users/qt/work/install/include/QtQuick/5.15.9/QtQuick/private/qquickitem_p.h:81,                  from qquicksafetext.cpp:29: C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h: In constructor 'QDataBuffer::QDataBuffer(int)': C:/Users/qt/work/install/include/QtGui/5.15.9/QtGui/private/qdatabuffer_p.h:70:24: warning: unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]              QT_WARNING_DISABLE_GCC("-Walloc-size-larger-than=")                         ^
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes