Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
None
-
5.7.0
-
None
-
Xcode 8 Release
macOS Sierra (Release)
$java -version
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Description
Pesky warnings can sometimes hide potential bugs/issues.
I never ignore them...
Compiling open source qt 5.7 on Sierra/Xcode 8 generates quite a few new warnings and deprecation notices.
This warning is the most frequent offender (over 500 mentions):
runtime/UIString.h
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h:27: ../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:82:20: warning: comparison of constant 9223372036854775791 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare] if (length > ((std::numeric_limits<size_t>::max() - sizeof(UStringImpl)) / sizeof(UChar))) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have attached some relevant files (and a summarized analysis of warnings in the output file)
Are any of these serious enough to merit attention?
Regards, Patrice