I get: [ 87%] Built target ut_lib Linking CXX shared library /repo/uabebz/maf/maf-main/bin/libmaf_ft_test_component.so <error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/> <error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/> <error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/>
Checking the build.make file I can see: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library /repo/uabebz/maf/maf-main/bin/libmaf_ft_test_component.so" cd /repo/uabebz/maf/maf-main/build/CMakeFiles/build_out/ft/maf && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/maf_ft_test_component.dir/link.txt --verbose=$(VERBOSE) cd /repo/uabebz/maf/maf-main/build/CMakeFiles/build_out/ft/maf && /proj/ecomhud/com-deps/tools/cppcheck/1.46/bin64/cppcheck -j4 -q --suppressions /repo/uabebz/maf/maf-main/etc/cppcheck_suppressions.txt --enable=style,unusedFunction --xml --inline-suppr --error-exitcode=0 /repo/uabebz/maf/maf-main/src/ft/maf/common/EventHandler.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/NotificationFmEventConsumer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/CmRouterEventConsumer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/NotificationFmEventProducer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/FileLoggerSingleton.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/TestComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/TraceV2Component.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/OiComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/AcComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/LogComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/TraceComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/FailingComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/MoComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/Oiv3Component.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MrDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoOiDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/AcCallbackMutexDeadlock.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/TraceV2.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MainDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoOiV3.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/NotificationFmDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoBasic.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/SvsDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/CoreDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/SessionMgmtDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MafStartTime.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/TraceDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/LogDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/TraceV2Interface.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/AcDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoDelete.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoExists.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoAction.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoCountChildren.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoUtil.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/ThreadUtil.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoCreate.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoIterator.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoGetAttr.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoSetAttr.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoTx.cc 2> /repo/uabebz/maf/maf-main/gen/cppcheck/cppcheck-maf_ft_test_component.xml
Compared to the successfull linkings of other libraries this cd command is very long.
So is there a limit in cppcheck that unables it to process this cd command?
Best Regards Jan Ebenholtz
no there is no limit as far as I know.
that warning is written while the source code is analysed so the paths seem to work.
Log in to post a comment.
I get:
[ 87%] Built target ut_lib
Linking CXX shared library /repo/uabebz/maf/maf-main/bin/libmaf_ft_test_component.so
<error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/>
<error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/>
<error id="cppcheckError" severity="error" msg="Internal error. Token::Match called with varid 0."/>
Checking the build.make file I can see:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library /repo/uabebz/maf/maf-main/bin/libmaf_ft_test_component.so"
cd /repo/uabebz/maf/maf-main/build/CMakeFiles/build_out/ft/maf && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/maf_ft_test_component.dir/link.txt --verbose=$(VERBOSE)
cd /repo/uabebz/maf/maf-main/build/CMakeFiles/build_out/ft/maf && /proj/ecomhud/com-deps/tools/cppcheck/1.46/bin64/cppcheck -j4 -q --suppressions /repo/uabebz/maf/maf-main/etc/cppcheck_suppressions.txt --enable=style,unusedFunction --xml --inline-suppr --error-exitcode=0 /repo/uabebz/maf/maf-main/src/ft/maf/common/EventHandler.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/NotificationFmEventConsumer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/CmRouterEventConsumer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/NotificationFmEventProducer.cc /repo/uabebz/maf/maf-main/src/ft/maf/common/FileLoggerSingleton.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/TestComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/TraceV2Component.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/OiComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/AcComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/LogComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/TraceComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/FailingComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/MoComponent.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/tc_components/Oiv3Component.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MrDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoOiDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/AcCallbackMutexDeadlock.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/TraceV2.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MainDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoOiV3.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/NotificationFmDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoBasic.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/SvsDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/CoreDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MoDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/SessionMgmtDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/MafStartTime.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/TraceDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/LogDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/TraceV2Interface.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/support_tc/AcDefault.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoDelete.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoExists.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoAction.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoCountChildren.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoUtil.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/ThreadUtil.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoCreate.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoIterator.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoGetAttr.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoSetAttr.cc /repo/uabebz/maf/maf-main/src/ft/maf/components/test_cases/tc_utils/MoTx.cc 2> /repo/uabebz/maf/maf-main/gen/cppcheck/cppcheck-maf_ft_test_component.xml
Compared to the successfull linkings of other libraries this cd command is very long.
So is there a limit in cppcheck that unables it to process this cd command?
Best Regards
Jan Ebenholtz
no there is no limit as far as I know.
that warning is written while the source code is analysed so the paths seem to work.
Last edit: Daniel Marjamäki 2014-11-09