Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
Qt 3D Studio 2.1 BETA1
-
None
-
9b0276d7aba5d93a2619d0f39698c43cdb13c084
Description
To prevent slipping backwards in code cleanliness, configure clang to treat warnings as errors with the exception of following warnings that are still to be completely fixed:
- QT3DS-2214 -Wnoerror=unused-local-typedefs
- QT3DS-2216 -Wnoerror=inconsistent-missing-override
- QT3DS-2222 -Wnoerror=reorder
- QT3DS-2223 -Wnoerror=format
- QT3DS-2224 -Wnoerror=unused-function
- QT3DS-2227 -Wnoerror=unused-value
- QT3DS-2229 -Wnoerror=delete-non-virtual-dtor
- QT3DS-2234 -Wnoerror=unused-variable
- QT3DS-2235 -Wnoerror=overloaded-virtual
- QT3DS-2237 -Wnoerror=unused-private-field
- QT3DS-2238 -Wnoerror=comment
- QT3DS-2240 -Wnoerror=enum-compare
- QT3DS-2241 -Wnoerror=int-to-pointer-cast
- QT3DS-2242 -Wnoerror=int-to-void-pointer-cast
- QT3DS-2244 -Wnoerror=unused-lambda-capture
- QT3DS-2246 -Wnoerror=deprecated-declarations
- QT3DS-2247 -Wnoerror=pointer-bool-conversion
- QT3DS-2248 -Wnoerror=self-assign
- QT3DS-2249 -Wnoerror=tautological-compare
- QT3DS-2251 -Wnoerror=tautological-constant-out-of-range-compare
- QT3DS-TBD Wno-error=mismatched-tags
- QT3DS-TBD Wno-error=logical-op-parentheses
Also -Wnoerror=switch needs to be ignored until the fix for QT3DS-2293 is merged from 2.1 branch to master branch.
Attachments
Issue Links
- resulted from
-
QT3DS-2330 Warnings about not all enumeration values handled in the code returned
- Closed
For Gerrit Dashboard: QT3DS-2369 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240651,8 | Turn on warnings as errors on clang with few exceptions | master | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |