GUI: Add zh_TW translation#5108
Conversation
|
cc: @danmar There is a subsequent problem that I encountered: After this change, I tried to use C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(316,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(327,2): message : see reference to class template instantiation 'QVector<T>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore\qlist.h(100,10): error C2059: syntax error: ',' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(250,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(266,2): message : see reference to class template instantiation 'QVarLengthArray<T,Prealloc>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]Do you know what happened? Click to expand the full logD:\Repo\GitHub\forked\cppcheck>mkdir build
D:\Repo\GitHub\forked\cppcheck>cd build
D:\Repo\GitHub\forked\cppcheck\build>cmake .. -DBUILD_GUI=ON
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- ------------------ General configuration for Cppcheck 2.10.99 -----------------
--
-- CMake Version = 3.26.3
-- CMake Generator = Visual Studio 17 2022
-- Compiler = MSVC
-- Compiler Version = 19.35.32215.0
-- Build type = Debug
-- CMake C++ Standard = 17
-- CMAKE_INSTALL_PREFIX = C:/Program Files (x86)/Cppcheck
-- CMAKE_DISABLE_PRECOMPILE_HEADERS = Off
-- C++ flags (General) = /DWIN32 /D_WINDOWS /W3 /GR /EHsc
-- C++ flags (Release) = /MD /O2 /Ob2 /DNDEBUG
-- C++ flags (RelWithDebInfo) = /MD /Zi /O2 /Ob1 /DNDEBUG
-- C++ flags (Debug) = /MDd /Zi /Ob0 /Od /RTC1
-- CMAKE_EXE_LINKER_FLAGS = /machine:x64 /STACK:8000000
-- CPPCHK_GLIBCXX_DEBUG = ON
-- COMPILE_DEFINITIONS (global) = DEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_MEAN;_WIN64;FILESDIR="C:/Program Files (x86)/Cppcheck/share/Cppcheck"
-- COMPILE_OPTIONS (global) = /W4;/Zi;/MP;/Od;/MDd;/GS;/Zc:rvalueCast;/wd4018;/wd4127;/wd4146;/wd4244;/wd4251;/wd4267;/wd4389;/wd4482;/wd4512;/wd4701;/wd4706;/wd4800;/wd4805;/Zc:throwingNew;/Zc:__cplusplus
--
-- ---------------------------------------------------------
-- ANALYZE_MEMORY = OFF
-- ANALYZE_ADDRESS = OFF
-- ANALYZE_THREAD = OFF
-- ANALYZE_UNDEFINED = OFF
-- ANALYZE_DATAFLOW = OFF
-- WARNINGS_ARE_ERRORS = OFF
--
-- USE_MATCHCOMPILER = Auto
-- USE_MATCHCOMPILER_OPT = Off
--
-- DISABLE_CRTDBG_MAP_ALLOC = OFF
-- NO_UNIX_SIGNAL_HANDLING = OFF
-- NO_UNIX_BACKTRACE_SUPPORT = OFF
-- NO_WINDOWS_SEH = OFF
--
-- BUILD_SHARED_LIBS = OFF
-- LIBXML2_XMLLINT_EXECUTABLE = LIBXML2_XMLLINT_EXECUTABLE-NOTFOUND
-- BUILD_CORE_DLL = OFF
-- BUILD_TESTS = OFF
-- ENABLE_CHECK_INTERNAL = OFF
-- DISABLE_DMAKE = OFF
--
-- BUILD_GUI = ON
-- REGISTER_GUI_TESTS = ON
-- WITH_QCHART = OFF
-- USE_QT6 = OFF
-- QT_VERSION = 5.15.2
--
-- HAVE_RULES = OFF
--
-- USE_THREADS = OFF
-- CMAKE_THREAD_LIBS_INIT =
--
-- USE_BUNDLED_TINYXML2 = ON
--
-- USE_BOOST = OFF
-- USE_LIBCXX = OFF
--
-- Using bundled version of tinyxml2
-- Cannot use non-Clang compiler with clang-tidy when precompiled headers are enabled - skipping 'run-clang-tidy' target generation
-- Configuring done (0.2s)
-- Generating done (0.9s)
-- Build files have been written to: D:/Repo/GitHub/forked/cppcheck/build
D:\Repo\GitHub\forked\cppcheck\build>cmake --build .
MSBuild version 17.5.0+6f08c67f3 for .NET Framework
Checking Build System
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/cli/CMakeLists.txt
cmake_pch.cxx
cmdlineparser.cpp
cppcheckexecutor.cpp
cppcheckexecutorseh.cpp
cppcheckexecutorsig.cpp
executor.cpp
filelister.cpp
processexecutor.cpp
singleexecutor.cpp
stacktrace.cpp
threadexecutor.cpp
cli_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\cli\cli_objs.dir\Debug\cli_objs.lib
Copying addons files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Copying cfg files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Copying platforms files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/lib/CMakeLists.txt
cmake_pch.cxx
analyzerinfo.cpp
astutils.cpp
check.cpp
check64bit.cpp
checkassert.cpp
checkautovariables.cpp
checkbool.cpp
checkboost.cpp
checkbufferoverrun.cpp
checkclass.cpp
checkcondition.cpp
checkexceptionsafety.cpp
D:\Repo\GitHub\forked\cppcheck\lib\checkexceptionsafety.cpp(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in
Unicode format to prevent data loss [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
checkfunctions.cpp
checkinternal.cpp
checkio.cpp
checkleakautovar.cpp
checkmemoryleak.cpp
checknullpointer.cpp
checkother.cpp
checkpostfixoperator.cpp
checksizeof.cpp
checkstl.cpp
checkstring.cpp
checktype.cpp
checkuninitvar.cpp
checkunusedfunctions.cpp
checkunusedvar.cpp
checkvaarg.cpp
clangimport.cpp
color.cpp
cppcheck.cpp
ctu.cpp
errorlogger.cpp
errortypes.cpp
forwardanalyzer.cpp
fwdanalysis.cpp
importproject.cpp
infer.cpp
keywords.cpp
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(184): warning C4715: 'Keywords::getAll': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxpr
oj]
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(200): warning C4715: 'Keywords::getOnly': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxp
roj]
library.cpp
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(165): warning C4715: 'Keywords::getAll': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxpr
oj]
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(220): warning C4715: 'Keywords::getOnly': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxp
roj]
mathlib.cpp
path.cpp
pathanalysis.cpp
pathmatch.cpp
platform.cpp
preprocessor.cpp
programmemory.cpp
reverseanalyzer.cpp
settings.cpp
summaries.cpp
suppressions.cpp
symboldatabase.cpp
templatesimplifier.cpp
timer.cpp
token.cpp
tokenize.cpp
tokenlist.cpp
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3023,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3030,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3037,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3044,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
utils.cpp
valueflow.cpp
vfvalue.cpp
cppcheck-core.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.dir\Debug\cppcheck-core.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/externals/simplecpp/CMakeLists.txt
simplecpp.cpp
simplecpp_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\externals\simplecpp\simplecpp_objs.dir\Debug\simplecpp_objs.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/externals/tinyxml2/CMakeLists.txt
tinyxml2.cpp
tinyxml2_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\externals\tinyxml2\tinyxml2_objs.dir\Debug\tinyxml2_objs.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/tools/CMakeLists.txt
dmake.cpp
filelister.cpp
pathmatch.cpp
path.cpp
utils.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification [D:\Repo\GitHub\forked\cppcheck\build\tools\dmake.vcxproj]
dmake.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\bin\Debug\dmake.exe
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/tools/CMakeLists.txt
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/cli/CMakeLists.txt
main.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification [D:\Repo\GitHub\forked\cppcheck\build\cli\cppcheck.vcxproj]
cppcheck.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\bin\Debug\cppcheck.exe
Automatic MOC for target cppcheck-gui
Generating ui_about.h
Generating ui_applicationdialog.h
Generating ui_compliancereportdialog.h
Generating ui_fileview.h
Generating ui_helpdialog.h
Generating ui_libraryaddfunctiondialog.h
Generating ui_librarydialog.h
Generating ui_libraryeditargdialog.h
Generating ui_mainwindow.h
Generating ui_newsuppressiondialog.h
Generating ui_projectfile.h
Generating ui_resultsview.h
Generating ui_scratchpad.h
Generating ui_settings.h
Generating ui_statsdialog.h
Generating qrc_gui.cpp
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_de.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_de.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_es.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_es.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_fi.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_fi.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_fr.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_fr.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_it.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_it.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ja.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ja.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ko.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ko.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_nl.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_nl.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ru.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ru.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_sr.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_sr.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_sv.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_sv.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_zh_CN.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_zh_CN.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/gui/CMakeLists.txt
Generating cppcheck_de.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_de.qm'...
Generated 440 translation(s) (437 finished and 3 unfinished)
Ignored 84 untranslated source text(s)
Generating cppcheck_es.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_es.qm'...
Generated 266 translation(s) (242 finished and 24 unfinished)
Ignored 258 untranslated source text(s)
Generating cppcheck_fi.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_fi.qm'...
Generated 75 translation(s) (69 finished and 6 unfinished)
Ignored 449 untranslated source text(s)
Generating cppcheck_fr.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_fr.qm'...
Generated 170 translation(s) (154 finished and 16 unfinished)
Ignored 354 untranslated source text(s)
Generating cppcheck_it.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_it.qm'...
Generated 223 translation(s) (209 finished and 14 unfinished)
Ignored 301 untranslated source text(s)
Generating cppcheck_ja.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ja.qm'...
Generated 505 translation(s) (504 finished and 1 unfinished)
Ignored 19 untranslated source text(s)
Generating cppcheck_ko.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ko.qm'...
Generated 213 translation(s) (202 finished and 11 unfinished)
Ignored 311 untranslated source text(s)
Generating cppcheck_nl.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_nl.qm'...
Generated 227 translation(s) (217 finished and 10 unfinished)
Ignored 297 untranslated source text(s)
Generating cppcheck_ru.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ru.qm'...
Generated 400 translation(s) (394 finished and 6 unfinished)
Ignored 124 untranslated source text(s)
Generating cppcheck_sr.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_sr.qm'...
Generated 88 translation(s) (17 finished and 71 unfinished)
Ignored 436 untranslated source text(s)
Generating cppcheck_sv.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_sv.qm'...
Generated 384 translation(s) (373 finished and 11 unfinished)
Ignored 140 untranslated source text(s)
Generating cppcheck_zh_CN.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_zh_CN.qm'...
Generated 497 translation(s) (496 finished and 1 unfinished)
Ignored 27 untranslated source text(s)
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_de.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_es.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_fi.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_fr.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_it.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_ja.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_ko.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_nl.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_ru.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_sr.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_sv.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxpro
j]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\
5de19d6297360970315551225aeb77d0\cppcheck_zh_CN.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcx
proj]
cmake_pch.cxx
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(316,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(327,2): message : see reference to class template instantiation 'QVector<T>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore\qlist.h(100,10): error C2059: syntax error: ',' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(250,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(266,2): message : see reference to class template instantiation 'QVarLengthArray<T,Prealloc>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj] |
I have not seen that before. Strange! |
|
hmm maybe it's unfortunate that you lupdate all the ts files. There are lots of changes. I run lupdate during the release process. can you please try to revert the changes for the other ts files? |
Well...I don't think this is the reason since I've already tried to build the cppcheck project with Click to expand the full logD:\Repo\GitHub\forked\cppcheck>git status
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
D:\Repo\GitHub\forked\cppcheck>call "C:\Qt\5.15.2\msvc2019_64\bin\qtenv2.bat"
Setting up environment for Qt usage...
Remember to call vcvarsall.bat to complete environment setup!
C:\Qt\5.15.2\msvc2019_64>cd /D D:\Repo\GitHub\forked\cppcheck
D:\Repo\GitHub\forked\cppcheck>vcvarsall.bat x64
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.23
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
D:\Repo\GitHub\forked\cppcheck>mkdir build
D:\Repo\GitHub\forked\cppcheck>cd build
D:\Repo\GitHub\forked\cppcheck\build>cmake .. -DBUILD_GUI=ON
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.35.32215.0
-- The CXX compiler identification is MSVC 19.35.32215.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- ------------------ General configuration for Cppcheck 2.10.99 -----------------
--
-- CMake Version = 3.26.3
-- CMake Generator = Visual Studio 17 2022
-- Compiler = MSVC
-- Compiler Version = 19.35.32215.0
-- Build type = Debug
-- CMake C++ Standard = 17
-- CMAKE_INSTALL_PREFIX = C:/Program Files (x86)/Cppcheck
-- CMAKE_DISABLE_PRECOMPILE_HEADERS = Off
-- C++ flags (General) = /DWIN32 /D_WINDOWS /W3 /GR /EHsc
-- C++ flags (Release) = /MD /O2 /Ob2 /DNDEBUG
-- C++ flags (RelWithDebInfo) = /MD /Zi /O2 /Ob1 /DNDEBUG
-- C++ flags (Debug) = /MDd /Zi /Ob0 /Od /RTC1
-- CMAKE_EXE_LINKER_FLAGS = /machine:x64 /STACK:8000000
-- CPPCHK_GLIBCXX_DEBUG = ON
-- COMPILE_DEFINITIONS (global) = DEBUG;WIN32;_CRT_SECURE_NO_WARNINGS;WIN32_LEAN_MEAN;_WIN64;FILESDIR="C:/Program Files (x86)/Cppcheck/share/Cppcheck"
-- COMPILE_OPTIONS (global) = /W4;/Zi;/MP;/Od;/MDd;/GS;/Zc:rvalueCast;/wd4018;/wd4127;/wd4146;/wd4244;/wd4251;/wd4267;/wd4389;/wd4482;/wd4512;/wd4701;/wd4706;/wd4800;/wd4805;/Zc:throwingNew;/Zc:__cplusplus
--
-- ---------------------------------------------------------
-- ANALYZE_MEMORY = OFF
-- ANALYZE_ADDRESS = OFF
-- ANALYZE_THREAD = OFF
-- ANALYZE_UNDEFINED = OFF
-- ANALYZE_DATAFLOW = OFF
-- WARNINGS_ARE_ERRORS = OFF
--
-- USE_MATCHCOMPILER = Auto
-- USE_MATCHCOMPILER_OPT = Off
--
-- DISABLE_CRTDBG_MAP_ALLOC = OFF
-- NO_UNIX_SIGNAL_HANDLING = OFF
-- NO_UNIX_BACKTRACE_SUPPORT = OFF
-- NO_WINDOWS_SEH = OFF
--
-- BUILD_SHARED_LIBS = OFF
-- LIBXML2_XMLLINT_EXECUTABLE = LIBXML2_XMLLINT_EXECUTABLE-NOTFOUND
-- BUILD_CORE_DLL = OFF
-- BUILD_TESTS = OFF
-- ENABLE_CHECK_INTERNAL = OFF
-- DISABLE_DMAKE = OFF
--
-- BUILD_GUI = ON
-- REGISTER_GUI_TESTS = ON
-- WITH_QCHART = OFF
-- USE_QT6 = OFF
-- QT_VERSION = 5.15.2
--
-- HAVE_RULES = OFF
--
-- USE_THREADS = OFF
-- CMAKE_THREAD_LIBS_INIT =
--
-- USE_BUNDLED_TINYXML2 = ON
--
-- USE_BOOST = OFF
-- USE_LIBCXX = OFF
--
-- Using bundled version of tinyxml2
-- Cannot use non-Clang compiler with clang-tidy when precompiled headers are enabled - skipping 'run-clang-tidy' target generation
-- Configuring done (11.4s)
-- Generating done (0.4s)
-- Build files have been written to: D:/Repo/GitHub/forked/cppcheck/build
D:\Repo\GitHub\forked\cppcheck\build>cmake --build .
MSBuild version 17.5.0+6f08c67f3 for .NET Framework
Checking Build System
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/cli/CMakeLists.txt
cmake_pch.cxx
cmdlineparser.cpp
cppcheckexecutor.cpp
cppcheckexecutorseh.cpp
cppcheckexecutorsig.cpp
executor.cpp
filelister.cpp
processexecutor.cpp
singleexecutor.cpp
stacktrace.cpp
threadexecutor.cpp
cli_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\cli\cli_objs.dir\Debug\cli_objs.lib
Copying addons files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Copying cfg files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Copying platforms files to D:/Repo/GitHub/forked/cppcheck/build/bin/Debug
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/CMakeLists.txt
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/lib/CMakeLists.txt
cmake_pch.cxx
analyzerinfo.cpp
astutils.cpp
check.cpp
check64bit.cpp
checkassert.cpp
checkautovariables.cpp
checkbool.cpp
checkboost.cpp
checkbufferoverrun.cpp
checkclass.cpp
checkcondition.cpp
checkexceptionsafety.cpp
D:\Repo\GitHub\forked\cppcheck\lib\checkexceptionsafety.cpp(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss [D:\Repo\GitHub\forked\cppcheck\build\lib\cp
pcheck-core.vcxproj]
checkfunctions.cpp
checkinternal.cpp
checkio.cpp
checkleakautovar.cpp
checkmemoryleak.cpp
checknullpointer.cpp
checkother.cpp
checkpostfixoperator.cpp
checksizeof.cpp
checkstl.cpp
checkstring.cpp
checktype.cpp
checkuninitvar.cpp
checkunusedfunctions.cpp
checkunusedvar.cpp
checkvaarg.cpp
clangimport.cpp
color.cpp
cppcheck.cpp
ctu.cpp
errorlogger.cpp
errortypes.cpp
forwardanalyzer.cpp
fwdanalysis.cpp
importproject.cpp
infer.cpp
keywords.cpp
library.cpp
mathlib.cpp
path.cpp
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(184): warning C4715: 'Keywords::getAll': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(165): warning C4715: 'Keywords::getAll': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(220): warning C4715: 'Keywords::getOnly': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\keywords.cpp(200): warning C4715: 'Keywords::getOnly': not all control paths return a value [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
pathanalysis.cpp
pathmatch.cpp
platform.cpp
preprocessor.cpp
programmemory.cpp
reverseanalyzer.cpp
settings.cpp
summaries.cpp
suppressions.cpp
symboldatabase.cpp
templatesimplifier.cpp
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3023,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3030,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3037,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
timer.cpp
token.cpp
D:\Repo\GitHub\forked\cppcheck\lib\symboldatabase.cpp(3044,5): warning C4100: 'defStart': unreferenced formal parameter [D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.vcxproj]
tokenize.cpp
tokenlist.cpp
utils.cpp
valueflow.cpp
vfvalue.cpp
cppcheck-core.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\lib\cppcheck-core.dir\Debug\cppcheck-core.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/externals/simplecpp/CMakeLists.txt
simplecpp.cpp
simplecpp_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\externals\simplecpp\simplecpp_objs.dir\Debug\simplecpp_objs.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/externals/tinyxml2/CMakeLists.txt
tinyxml2.cpp
tinyxml2_objs.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\externals\tinyxml2\tinyxml2_objs.dir\Debug\tinyxml2_objs.lib
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/tools/CMakeLists.txt
dmake.cpp
filelister.cpp
pathmatch.cpp
path.cpp
utils.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification [D:\Repo\GitHub\forked\cppcheck\build\tools\dmake.vcxproj]
dmake.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\bin\Debug\dmake.exe
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/tools/CMakeLists.txt
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/cli/CMakeLists.txt
main.cpp
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification [D:\Repo\GitHub\forked\cppcheck\build\cli\cppcheck.vcxproj]
cppcheck.vcxproj -> D:\Repo\GitHub\forked\cppcheck\build\bin\Debug\cppcheck.exe
Automatic MOC for target cppcheck-gui
Generating ui_about.h
Generating ui_applicationdialog.h
Generating ui_compliancereportdialog.h
Generating ui_fileview.h
Generating ui_helpdialog.h
Generating ui_libraryaddfunctiondialog.h
Generating ui_librarydialog.h
Generating ui_libraryeditargdialog.h
Generating ui_mainwindow.h
Generating ui_newsuppressiondialog.h
Generating ui_projectfile.h
Generating ui_resultsview.h
Generating ui_scratchpad.h
Generating ui_settings.h
Generating ui_statsdialog.h
Generating qrc_gui.cpp
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_de.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_de.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_es.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_es.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_fi.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_fi.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_fr.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_fr.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_it.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_it.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ja.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ja.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ko.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ko.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_nl.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_nl.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_ru.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_ru.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_sr.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_sr.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_sv.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_sv.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Generating D:/Repo/GitHub/forked/cppcheck/gui/cppcheck_zh_CN.ts
Scanning directory 'D:/Repo/GitHub/forked/cppcheck/gui'...
Updating '../../gui/cppcheck_zh_CN.ts'...
Found 524 source text(s) (13 new and 511 already existing)
Building Custom Rule D:/Repo/GitHub/forked/cppcheck/gui/CMakeLists.txt
Generating cppcheck_de.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_de.qm'...
Generated 440 translation(s) (437 finished and 3 unfinished)
Ignored 84 untranslated source text(s)
Generating cppcheck_es.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_es.qm'...
Generated 266 translation(s) (242 finished and 24 unfinished)
Ignored 258 untranslated source text(s)
Generating cppcheck_fi.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_fi.qm'...
Generated 75 translation(s) (69 finished and 6 unfinished)
Ignored 449 untranslated source text(s)
Generating cppcheck_fr.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_fr.qm'...
Generated 170 translation(s) (154 finished and 16 unfinished)
Ignored 354 untranslated source text(s)
Generating cppcheck_it.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_it.qm'...
Generated 223 translation(s) (209 finished and 14 unfinished)
Ignored 301 untranslated source text(s)
Generating cppcheck_ja.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ja.qm'...
Generated 505 translation(s) (504 finished and 1 unfinished)
Ignored 19 untranslated source text(s)
Generating cppcheck_ko.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ko.qm'...
Generated 213 translation(s) (202 finished and 11 unfinished)
Ignored 311 untranslated source text(s)
Generating cppcheck_nl.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_nl.qm'...
Generated 227 translation(s) (217 finished and 10 unfinished)
Ignored 297 untranslated source text(s)
Generating cppcheck_ru.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_ru.qm'...
Generated 400 translation(s) (394 finished and 6 unfinished)
Ignored 124 untranslated source text(s)
Generating cppcheck_sr.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_sr.qm'...
Generated 88 translation(s) (17 finished and 71 unfinished)
Ignored 436 untranslated source text(s)
Generating cppcheck_sv.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_sv.qm'...
Generated 384 translation(s) (373 finished and 11 unfinished)
Ignored 140 untranslated source text(s)
Generating cppcheck_zh_CN.qm
Updating 'D:/Repo/GitHub/forked/cppcheck/build/gui/cppcheck_zh_CN.qm'...
Generated 497 translation(s) (496 finished and 1 unfinished)
Ignored 27 untranslated source text(s)
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_de.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_es.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_fi.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_fr.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_it.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_ja.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_ko.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_nl.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_ru.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_sr.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_sv.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): warning MSB8064: 項目 "D:\Repo\GitHub\forked\cppcheck\build\CMakeFiles\5de19d6297360970315551225aeb77d0\cppcheck_zh_CN.ts.rule" 的自訂組建成功,但指定的相依性 "d:\repo\github\forked\cppcheck\gui" 不存在。這可能導致累加建置運作錯誤。 [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
cmake_pch.cxx
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(316,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(327,2): message : see reference to class template instantiation 'QVector<T>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvector.h(699,18): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore\qlist.h(100,10): error C2059: syntax error: ',' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(250,10): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(266,2): message : see reference to class template instantiation 'QVarLengthArray<T,Prealloc>' being compiled [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2988: unrecognizable template declaration/definition [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
C:\Qt\5.15.2\msvc2019_64\include\QtCore/qvarlengtharray.h(375,57): error C2059: syntax error: 'constant' [D:\Repo\GitHub\forked\cppcheck\build\gui\cppcheck-gui.vcxproj]
D:\Repo\GitHub\forked\cppcheck\build> |
I don't think its the reason neither. But it makes the PR full of various changes so it's harder to review. |
I don't think your changes caused that problem. And CI is happy. So I feel it's possible to merge this. But for me preferably the ts files should be reverted. |
|
@danmar - Do you mean that I should revert all the |
* Add gui/cppcheck_zh_TW.ts * Add cppcheck_zh_TW.ts to gui/gui.pro * Add 'Chinese (Traditional)' to gui/translationhandler.cpp * Add cppcheck_zh_TW.qm to win_installer/cppcheck.wxs
|
yes can you please do that. |
b27da0e to
9c37f4a
Compare
|
Done. |
|
Thanks! For your information I have added your name in our AUTHORS: |

Uh oh!
There was an error while loading. Please reload this page.