This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cmath annoyance

When compiling...

Following warnings are shown:

C:/Program Files/C2000 Code Generation Tools 5.1.1/include/math.h", line 27: warning: type qualifiers are meaningless in this declaration

C:/Program Files/C2000 Code Generation Tools 5.1.1/include/math.h", line 40: warning: type qualifiers are meaningless in this declaration

The prototypes (in math.h) are:

double far_modf(double x, far double *y);
double far_frexp(double x, far int *exp);

 

In our app this results in a total of 26 warnings which is quite annoying.