I am usingCCSv6
A) My code is as follows
#define PI 3.14159
_iq29 in2, out2;
in2 =_IQ29(0.25*PI);
out2 =_IQ29cos(in2);
B) I am getting following warning
Type #16002-D build attribute vendor section TI missing in "../IQmath.lib<IQ24cos.obj>": compatibility cannot be determined
#16002-D build attribute vendor section TI missing in "../IQmath.lib<IQmathTables.obj>": compatibility cannot be determined
Type #552-D variable "out2" was set but never used
C) When I put above variables in watch window and I run the programm I get following remarks againts the variables
out2 unknown Error: identifier not found: out2
in2 unknown Error: identifier not found: in2
D) However when I pause the program I get some values against the variable
out2 379625302 ( However right value is 379625062)
in2 421657088 ( However right value is 421657072)
E) My questions
1. Why I am getting warning for IQ maths and variable (was set but never used) at same time
2. Why in run mode I am not able to see the values against the variables.However when it is paused i am able to see
3. Why there is difference between the values calaculated and shown by CCS
