dsp_format.h should allow us to define parameterised macros so that it's easy to change the Q format. I've tried to use the following, but I get warnings everywhere they are used, as below. Any ideas how to fix the code or suppress this particular warning?
Thanks..../headers/testdata.h:512: warning: Replacement text "Q0(24)" of macro "Q" involved subsequent text
QF(0.0285019613802433),
from ../src/anc.xc: 35: #include "testdata.h"
macro "QF" defined as: #define QF Q(Q_SIZE) /* .../headers/anc.h:34 */
macro "Q" defined as: #define Q(N) Q0(N) /* ...lib_dsp/api/dsp_qformat.h:21 */
macro "Q_SIZE" defined as: #define Q_SIZE 24 /* .../headers/anc.h:33 */
macro "Q0" defined as: #define Q0(N) Q ## N /* ...lib_dsp/api/dsp_qformat.h:20 */
macro "Q24" defined as: #define Q24(f) (int)((signed long long)((f) * ((unsigned long long)1 << (24+20)) + (1<<19)) >> 20) /* ...lib_dsp/api/dsp_qformat.h:32