Daniil Moerman
09/14/2012 6:45 AM
post95581
|
I want to do some analysis of my program with the help of the "Code Coverage" option which is availible within the IDE.
My problem is that after I switch on that option in the Project Properties (Properties -> QNX C/C++ Project -> Options -
> Build with Code Coverage) I get an error message ...
D:/QNX_Experiments/Benchmark_001/utilfunc.c:228: internal compiler error: output_operand: invalid expression as operand
the code which belongs to this error is ...
void exec_cvn_matrix( bm_image* source,
bm_image* destination,
conv_5x5 matrix)
{
int x = 0;
int y = 0;
int x_max = source->width;
int y_max = source->height;
for(x = 0; x < x_max; x++)
{
for(y = 0; y < y_max; y++)
{
cvn_matrix_point(source,destination,&matrix,x,y);
}
}
} // <- This line is 228
What really kills me is that after i replaced the void-type as the return type of that function and set an int instead
the compiler is happy. Is that behaviour of the compiler okay?
|
|
|