Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
8
-
c5c3a7e0d (dev)
-
Foundation Sprint 78, Foundations Sprint 79
Description
The suggestion is to provide the ability to treat qlalr warnings (eg. shift/reduce and reduce/reduce) as errors.
The rationale is to disallow warnings getting unintentionally in, by allowing CI / local build to prevent the successful build. This has been the case with Qt remote objects, where the warnings have gradually, over the years, crept into the parser grammar. Fixing them early on (or deliberately suppressing them) requires less effort than fixing them later.
I have not looked at all how to do that yet (cmake vs qlalr vs something else) so the current component is not the right one => identifying the component(s) will be part of this task.
Attachments
For Gerrit Dashboard: QTBUG-108119 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
468393,7 | qlalr: add option to error out on warning | dev | qt/qtbase | Status: MERGED | +2 | 0 |
468867,4 | Enable exit-on-warn for qlalr | dev | qt/qtremoteobjects | Status: MERGED | +2 | 0 |