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

Fix qlalr warning when building qtremoteobjects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.2.7, 6.4.3, 6.5.0, 6.6.0
    • 6.4.0 FF
    • Remote Objects
    • None
    • 5
    • aac2ed94d (dev), df02caf5f (6.5), fd3d7a4a5 (6.4), 9a98b11c8 (tqtc/lts-6.2)
    • Foundation Sprint 68, Foundation Sprint 69, Foundation Sprint 70, Foundation Sprint 71, Foundation Sprint 72

    Description

      Building qtremoteobjects with latest qtbase regularly prints a conflicts warning:

      ninja 
      [...]
      [2026/10452] Generating rep_grammar.cpp, rep_grammar_p.h, repparser.h, repparser.cpp
      *** Conflicts: 24 shift/reduce, 28 reduce/reduce
      

      THe conflicts warning is generated by qlalr. Anyhow, it seems one can set an expected shift/reduce, reduce/reduce conflict count by adding %expect, %expect-lr to the .g file.

      Attachments

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

        Activity

          People

            bstottle Brett Stottlemyer
            kkohne Kai Köhne
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes