when compiling for C66/C674x (C6000 v7.4.2) or alternatively for current ARM i am getting a bunch of below warnings. I have enabled much of compiler checks like MISRA options.
"file1.c", line 1002: warning #551-D: variable "f32P" is used before its value is set
"file1.c", line 1003: warning #551-D: variable "f32Pb" is used before its value is set
"file1.c", line 1004: warning #551-D: variable "f32Param" is used before its value is set
the codes do look like this:
float f32P, f32Pb, f32Param;
InitFloat (&f32P);
InitFloat (&f32Pb);
InitFloat (&f32Param);
How can i get rid of that warnings despite disabling them in a global fashion? Is there something like a pragma that i can apply that tells the compiler that those pointer parameter does not need the target memory to be initialized as it is meant to be a return value?