-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12
-
None
-
* Windows 10 x64,
* mingw-w64 x86_64 posix seh 8.1.0,
* ICC 2018 Update 3,
* MSVC 2017 15.8.0,
* Windows SDK 10.0.17134.12,
* Qt5-dev-ab25e989b1e08a85eaab75a6d647fa9efdbbcf55.
Hello, everyone,
For builds using mingw-w64 got error:
g++ -c -fno-keep-inline-dllexport -Wno-expansion-to-defined -Wno-c++0x-compat -g -Og -std=c++1y -fno-exceptions -Wall -W -Wextra -Wno-expansion-to-defined -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Imemory -I. -Icompiler -I. -Ijsruntime -I. -Ijit -I. -Idebugger -Ianimations -I..\3rdparty\masm\jit -I..\3rdparty\masm\assembler -I..\3rdparty\masm\runtime -I..\3rdparty\masm\wtf -I..\3rdparty\masm\stubs -I..\3rdparty\masm\stubs\runtime -I..\3rdparty\masm\stubs\wtf -I..\3rdparty\masm -I..\3rdparty\masm\disassembler -I..\3rdparty\masm\disassembler\udis86 -I.generated\debug -I..\..\include -I..\..\include\QtQml -I..\..\include\QtQml\5.12.0 -I..\..\include\QtQml\5.12.0\QtQml -Itmp -I. -IC:\libQT-5.12-dev\build\qtbase\include\QtCore\5.12.0 -IC:\libQT-5.12-dev\build\qtbase\include\QtCore\5.12.0\QtCore -IC:\libQT-5.12-dev\build\qtbase\include -IC:\libQT-5.12-dev\build\qtbase\include\QtNetwork -IC:\libQT-5.12-dev\build\qtbase\include\QtCore -I.moc\debug -IC:\libQT-5.12-dev\build\qtbase\mkspecs\win32-g++ -o .obj\debug\YarrInterpreter.o ..\3rdparty\masm\yarr\YarrInterpreter.cpp ..\3rdparty\masm\yarr\YarrInterpreter.cpp: In lambda function: ..\3rdparty\masm\yarr\YarrInterpreter.cpp:2128:24: error: unknown conversion type character 'z' in format [-Werror=format=] out.printf("%4zu", index); ^~~~~~ ..\3rdparty\masm\yarr\YarrInterpreter.cpp:2128:24: error: too many arguments for format [-Werror=format-extra-args] ..\3rdparty\masm\yarr\YarrInterpreter.cpp: In member function 'bool JSC::Yarr::Interpreter<CharType>::backtrackParenthesesOnceEnd(JSC::Yarr::ByteTerm&, JSC::Yarr::Interpreter<CharType>::DisjunctionContext*) [with CharType = unsigned char]': ..\3rdparty\masm\yarr\YarrInterpreter.cpp:852:13: warning: this statement may fall through [-Wimplicit-fallthrough=] if (backTrack->begin == notFound) { ^~ ..\3rdparty\masm\yarr\YarrInterpreter.cpp:857:9: note: here case QuantifierNonGreedy: ^~~~ ..\3rdparty\masm\yarr\YarrInterpreter.cpp: In member function 'bool JSC::Yarr::Interpreter<CharType>::backtrackParenthesesOnceEnd(JSC::Yarr::ByteTerm&, JSC::Yarr::Interpreter<CharType>::DisjunctionContext*) [with CharType = short unsigned int]': ..\3rdparty\masm\yarr\YarrInterpreter.cpp:852:13: warning: this statement may fall through [-Wimplicit-fallthrough=] if (backTrack->begin == notFound) { ^~ ..\3rdparty\masm\yarr\YarrInterpreter.cpp:857:9: note: here case QuantifierNonGreedy: ^~~~ cc1plus.exe: all warnings being treated as errors mingw32-make[4]: *** [Makefile.Debug:77296: .obj/debug/YarrInterpreter.o] Error 1 mingw32-make[4]: Leaving directory 'c:/libQT-5.12-dev/build/qtdeclarative/src/qml' mingw32-make[3]: *** [Makefile:36: debug] Error 2 mingw32-make[3]: Leaving directory 'c:/libQT-5.12-dev/build/qtdeclarative/src/qml' mingw32-make[2]: *** [Makefile:50: sub-qml-make_first-ordered] Error 2
which may relate to recently merged Change #236152.
Reproduced for:
- QtDeclarative-dev-bdeaef727230 builds using mingw-w64 with Debug configuration,
not reproduced for:
- QtDeclarative-dev-bdeaef727230 builds using mingw-w64 with Debug configuration and 'NDEBUG' definition for 'qtdeclarative/src/qml',
- QtDeclarative-dev-bdeaef727230 builds using mingw-w64 with Release configuration,
- QtDeclarative-dev-315e0781b089 builds using mingw-w64.
Best,
Alexander