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

warning C4996: 'QtLiterals::operator ""_qs': Use _s from Qt::StringLiterals namespace instead.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 6.4.0 FF
    • Fix Version/s: 6.4.0 Beta1
    • Component/s: QML: Compiler
    • Labels:
      None
    • Commits:
      186a6910f9 (qt/tqtc-qmlcompilerplus/dev) 186a6910f9 (qt/tqtc-qmlcompilerplus/6.4)

      Description

      qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp
      agent:2022/05/05 04:10:55 build.go:394: \Users\qt\work\qt\tqtc-qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp(100): error C2220: the following warning is treated as an error
      agent:2022/05/05 04:10:55 build.go:394: \Users\qt\work\qt\tqtc-qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp(100): warning C4996: 'QtLiterals::operator ""_qs': Use _s from Qt::StringLiterals namespace instead.
      agent:2022/05/05 04:10:55 build.go:394: \Users\qt\work\qt\tqtc-qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp(104): warning C4996: 'QtLiterals::operator ""_qs': Use _s from Qt::StringLiterals namespace instead.
      agent:2022/05/05 04:10:55 build.go:394: \Users\qt\work\qt\tqtc-qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp(135): warning C4996: 'QtLiterals::operator ""_qs': Use _s from Qt::StringLiterals namespace instead.
      agent:2022/05/05 04:10:55 build.go:394: \Users\qt\work\qt\tqtc-qmlcompilerplus\src\qmlcompilerplus\cppcodegen.cpp(157): warning C4996: 'QtLiterals::operator ""_qs': Use _s from Qt::StringLiterals namespace instead.
      

      Build log: http://ci-files01-hki.intra.qt.io/cilogs/qt/tqtc-qmlcompilerplus/45d84ddd8938495b2fa613e56863afef7652c7ab/WindowsWindows_11_21H2x86_64WindowsWindows_11_21H2x86_64MSVC2019qtci-windows-11_21H2-x86_64-51-615aaaDebugAndRelease_Sccache_WarningsAreErrors/5b84bd0c2dbf3bcbc0bc173be9c310985f6d62fd/build_1651723748/log.txt.gz

      Details: http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qmlcompilerplus/tasks/1651723647

      Tested changes (refs/builds/qtci/dev/1651723646):

      https://codereview.qt-project.org/c/qt/tqtc-qmlcompilerplus/+/409709/2 Update dependencies on 'dev' in qt/tqtc-qmlcompilerplus

        Attachments

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

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes