添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I'm having some issue trying to get the function highlighted after the #else(I'm using CCSv5.5 at this moment).  I would like my function to do nothing when DOPPLER_TEST_USE_STP_FUNCTIONS is not defined.

Similar to how <assert.h>uses the (void)(0), so "programmers can eliminate the assertions just by recompiling the program, without changing the source code"

link: en.wikipedia.org/.../Assert.h

My code:

However, it is not working. Instead I get this error on the function. :(

Hope this is enough info to see what I may be doing wrong....

Best Regards,

Alvaro

Opps, noticed that I have the ";" in there. When I removed it, and compile it again...I get...
1) expected a ";"
2) expected a ")"
3) expected an identified