Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Done
-
Affects Version/s: 5.4.1
-
Fix Version/s: 5.6.1
-
Component/s: Core: I/O, Core: Object Model
-
Labels:None
-
Environment:Fedora 20, using gcc-c++-4.8.3-7.fc20.x86_64.
Description
There are at least two places where 0 is used as a null pointer constant in macros, which invade user code and cannot be suppressed with -isystem. These should be changed to use Q_NULLPTR.
- default parameters in Q_OBJECT via QT_TR_FUNCTIONS, in qobjectdefs.h.
- QT_MESSAGELOG_FILE and QT_MESSAGELOG_FUNC in qlogging.h.