Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.12.3
-
None
Description
Using Qt Script headers from Qt 5.12.3 with -Wzero-as-null-pointer-constant compiler option gives following warning:
In file included from /opt/Qt/5.12.3/clang_64/lib/QtScript.framework/Headers/QScriptEngine:1: /opt/Qt/5.12.3/clang_64/lib/QtScript.framework/Headers/qscriptengine.h:297:91: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] newFunction(reinterpret_cast<FunctionWithArgSignature>(cptr), 0)); ^ nullptr
As of 21st May 2019, this line of code hasn't been changed yet on master.