Problem with "fprofile-arcs -ftest-coverage" options

Problem with "fprofile-arcs -ftest-coverage" options

I am using icc intel64 compiler and want to do the code coverage analysis. For the same i am giving "fprofile-arcs -ftest-coverage" options along with other existing options in my make file and trying to complite the code then I am getting the below error. Even code got compiled and ".o" file generated by ".gcno" did not generated.

icpc: command line warning #10156: ignoring option '-fp'; no argument required
icpc: command line warning #10006: ignoring unknown option '-ftest-coverage'

Please tell the sugesion to proceed further. I am using gcc 4.1.x compatibility version.


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Here is an overview of the Intel compiler test coverage:

I suppose you may wish to compare against results of gcc test coverage, but the detailed methodology is different.

Leave a Comment

Please sign in to add a comment. Not a member? Join today