请较专家:
我在用CCS 6编译时出现以下提示:
"..\MAIN335_FFT\FPU.h", line 131: warning: white space is required between the macro name "FIR_FP_LPF6" and its replacement text
"..\MAIN335_FFT\FPU.h", line 136: warning: white space is required between the macro name "FIR_FP_LPF32" and its replacement text
"..\MAIN335_FFT\FPU.h", line 155: warning: white space is required between the macro name "FIR_FP_LPF64" and its replacement text
"..\MAIN335_FFT\FPU.h", line 172: warning: white space is required between the macro name "FIR_FP_LPF128" and its replacement text
"..\MAIN335_FFT\FPU.h", line 203: warning: white space is required between the macro name "FIR_FP_LPF256" and its replacement text
"..\MAIN335_FFT\FPU.h", line 259: warning: white space is required between the macro name "FIR_FP_LPF512" and its replacement text
是什么原因呢?会有影响吗?同样的程序在用CCS 4编译时确不会出现提示.为什么?
mangui zhang:
具体不知道什么原因 CCS4可以正常 编译
个人觉得主要原因还是build option中的设置问题
比如是库的指定等
请较专家:
我在用CCS 6编译时出现以下提示:
"..\MAIN335_FFT\FPU.h", line 131: warning: white space is required between the macro name "FIR_FP_LPF6" and its replacement text
"..\MAIN335_FFT\FPU.h", line 136: warning: white space is required between the macro name "FIR_FP_LPF32" and its replacement text
"..\MAIN335_FFT\FPU.h", line 155: warning: white space is required between the macro name "FIR_FP_LPF64" and its replacement text
"..\MAIN335_FFT\FPU.h", line 172: warning: white space is required between the macro name "FIR_FP_LPF128" and its replacement text
"..\MAIN335_FFT\FPU.h", line 203: warning: white space is required between the macro name "FIR_FP_LPF256" and its replacement text
"..\MAIN335_FFT\FPU.h", line 259: warning: white space is required between the macro name "FIR_FP_LPF512" and its replacement text
是什么原因呢?会有影响吗?同样的程序在用CCS 4编译时确不会出现提示.为什么?
user4331060:
回复 mangui zhang:
不是库的指定,在FPU.h中定义系数时,需要在宏定义和{}之间有个空格,不能紧挨着