Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0
-
None
Description
If I add -Wsign-conversion, every moc-file has several warnings like this:
warning: conversion to ‘qptrdiff
’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
note: in expansion of macro ‘QT_MOC_LITERAL’
Attachments
For Gerrit Dashboard: QTBUG-36128 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
75399,2 | moc: Fix -Wsign-conversion warning in the moc generated file | dev | qt/qtbase | Status: MERGED | +2 | 0 |