Skip to content

Instantly share code, notes, and snippets.

@daparic
Created July 25, 2023 07:55
Show Gist options
  • Select an option

  • Save daparic/856f6cfc2ff0036d9040597af35db9f9 to your computer and use it in GitHub Desktop.

Select an option

Save daparic/856f6cfc2ff0036d9040597af35db9f9 to your computer and use it in GitHub Desktop.

When doing SA of main.c:

[ERROR] Code Analysis for helloworld/main.c finished with code 1 (ipro)
    1. Error during process execution: "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 "-IC:\parasoft\cpptest\parasoft_cpptest_professional-2023.1.0-win32.x86_64-eclipse\cpptest\bin\engine\runtime\include" -ml -mt -DPARASOFT_CPPTEST  -v -E -dM  -ffreestanding -xc "C:\Users\dx\workspace_v10\helloworld\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.analyzer.code\e\b\4\2b010\0\tmp\ParaSoft.2996.41.c" &> "C:\Users\dx\workspace_v10\helloworld\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.analyzer.code\e\b\4\2b010\0\tmp\ParaSoft.2996.18467.c"" exited with status 1
>> WARNING: invalid compiler option -E (ignored)
error: argument to option -x (#) is out of range
Error preprocessing file "C:\Users\dx\workspace_v10\helloworld\helloworld\main.c": 
Process exited with status: 1
Could not preprocess source file
[WARNING] Flow Analysis encountered problems when building analysis data.
    1. Flow Analysis was not able to analyze the helloworld/main.c source file.
[ERROR] Collecting header files for helloworld/main.c finished with code 1 (ipro)
    1. Error during process execution: "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 "-IC:\parasoft\cpptest\parasoft_cpptest_professional-2023.1.0-win32.x86_64-eclipse\cpptest\bin\engine\runtime\include" -ml -mt -DPARASOFT_CPPTEST  -v -E -dM  -ffreestanding -xc "C:\Users\dx\workspace_v10\helloworld\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.ipro\e\b\4\2b010\0\tmp\ParaSoft.5388.41.c" &> "C:\Users\dx\workspace_v10\helloworld\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.ipro\e\b\4\2b010\0\tmp\ParaSoft.5388.18467.c"" exited with status 1
>> WARNING: invalid compiler option -E (ignored)
error: argument to option -x (#) is out of range
Error preprocessing file "C:\Users\dx\workspace_v10\helloworld\helloworld\main.c": 
Process exited with status: 1
Could not preprocess source file
@daparic

daparic commented Jul 25, 2023

Copy link
Copy Markdown
Author
[ERROR] Code Analysis for p/main.c finished with code 1 (ipro)
    1. Error during process execution: "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 "-IC:\parasoft\cpptest\parasoft_cpptest_professional-2023.1.0-win32.x86_64-eclipse\cpptest\bin\engine\runtime\include" -ml -mt -DPARASOFT_CPPTEST  -v -E -dM  -ffreestanding -xc "C:\w\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.analyzer.code\2\e\4\be4e4\0\tmp\ParaSoft.4260.41.c" &> "C:\w\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.analyzer.code\2\e\4\be4e4\0\tmp\ParaSoft.4260.18467.c"" exited with status 1
>> WARNING: invalid compiler option -E (ignored)
error: argument to option -x (#) is out of range
Error preprocessing file "C:\w\p\main.c": 
Process exited with status: 1
Could not preprocess source file
[ERROR] Collecting header files for p/main.c finished with code 1 (ipro)
    1. Error during process execution: "C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 "-IC:\parasoft\cpptest\parasoft_cpptest_professional-2023.1.0-win32.x86_64-eclipse\cpptest\bin\engine\runtime\include" -ml -mt -DPARASOFT_CPPTEST  -v -E -dM  -ffreestanding -xc "C:\w\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.ipro\2\e\4\be4e4\0\tmp\ParaSoft.7740.41.c" &> "C:\w\.cpptest\.dtpengine\.cpptest\com.parasoft.xtest.cpp.ipro\2\e\4\be4e4\0\tmp\ParaSoft.7740.18467.c"" exited with status 1
>> WARNING: invalid compiler option -E (ignored)
error: argument to option -x (#) is out of range
Error preprocessing file "C:\w\p\main.c": 
Process exited with status: 1
Could not preprocess source file
[WARNING] Flow Analysis encountered problems when building analysis data.
    1. Flow Analysis was not able to analyze the p/main.c source file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment