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

code_injection.mojom-shared.h:332:5: error: there are no arguments to ‘CHECK’ that depend on a template parameter,

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.8.0 FF
    • 6.8.0 FF
    • WebEngine
    • None
    • Linux/X11
    • e011c3c4b (dev)

    Description

      gen/extensions/common/mojom/code_injection.mojom-shared.h:332:5: error: there are no arguments to ‘CHECK’ that depend on a template parameter, so a declaration of ‘CHECK’ must be available [-fpermissive]
        332 |     CHECK(is_css());
            |     ^~~~~
      gen/extensions/common/mojom/code_injection.mojom-shared.h:332:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
      gen/extensions/common/mojom/code_injection.mojom-shared.h: In member function ‘bool extensions::mojom::CodeInjectionDataView::ReadJs(UserType*) const’:
      gen/extensions/common/mojom/code_injection.mojom-shared.h:343:5: error: there are no arguments to ‘CHECK’ that depend on a template parameter, so a declaration of ‘CHECK’ must be available [-fpermissive]
        343 |     CHECK(is_js());
            |     ^~~~~
      gen/extensions/common/mojom/code_injection.mojom-shared.h: In member function ‘void extensions::mojom::CodeInjectionDataView::GetCssDataView(extensions::mojom::CSSInjectionDataView*) const’:
      gen/extensions/common/mojom/code_injection.mojom-shared.h:705:3: error: ‘CHECK’ was not declared in this scope; did you mean ‘network::mojom::CSPDisposition::CHECK’?
        705 |   CHECK(is_css());
            |   ^~~~~
            |   network::mojom::CSPDisposition::CHECK
      

      Build log: https://testresults.qt.io/logs/qt/qtwebengine/fee832b03627423bd0f99bf0b31e480cea60b7bb/LinuxUbuntu_22_04x86_64LinuxUbuntu_22_04x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-0e2735Sccache_UseConfigure/41bb93c352f638a4f0bf70dd79272b898d1dc2e9/build_1716512304/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1716512301

      Tested changes (refs/builds/qtci/dev/1716508011):
      https://codereview.qt-project.org/c/qt/qtwebengine/+/563312/2 Update dependencies on 'dev' in qt/qtwebengine

      Attachments

        For Gerrit Dashboard: QTBUG-125627
        # Subject Branch Project Status CR V

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes