This call to CppCheck reports 16 errors: cppcheck -j 4 path --enable=all --inconclusive -UIMAQ_IMPORT -UIMAQ_STDCALL -iExternals --xml --xml-version=2 Source 2> cppcheck.xml
The same call to CppCheck but with header folders added using -I reports 10 errors. Length of string is 1392. cppcheck -j 4 path --enable=all --inconclusive -I "C:\ProgramData\National Instruments\CVI2017\include" -I "C:\Program Files (x86)\National Instruments\Vision\Include" -I "C:\Program Files (x86)\National Instruments\CVI2017\toolslib\toolbox" -I "C:\Program Files (x86)\National Instruments\CVI2017\include" -I "C:\Program Files (x86)\National Instruments\CVI2017\include\ansi" -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Externals\iBase\source\testBench -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Externals\iBase\source\tsMis -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Externals\iBase\source -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Release\Bin -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Source\gplib\source -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Source\gplib -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Source\Panels -I D:\Jenkins_DO_NOT_REMOVE\workspace\Production_Radar_77GHz_SWLoadDispatch_1_2_Alfa_Romeo_FCA\Source -UIMAQ_IMPORT -UIMAQ_STDCALL --xml --xml-version=2 -iExternals Source --force 2> cppcheck.xml
Errors from two modules are not reported although the modules ar analyzed according to the log.