Does the Blackfin CCES compiler support the INFINITY macro? There are conflicting data. The Blackfin scope of the CCES documentation doesn't mention the INFINITY macro, but code that contains the macro compiles fine. On the other hand, the CCES GUI reports that "Symbol 'INFINITY' could not be resolved." Also, use of the NAN macro causes a compiler error, further confusing the issue of whether the standard C99 floating point macro set is supported.
Which is it? Am I going to run into problems if I use the INFINITY macro?
Hi,Infinity and NaN are supported in CCES with C99 standard.Could you please refer through the below CCES help pages for more information on using those macros in CCES.CrossCore® Embedded Studio x.x.x > Blackfin® Development Tools Documentation > C/C++ Compiler and Library Manual for Blackfin® Processors > DSP Run-Time Library > DSP Run-Time Library Guide > DSP Header Files > math.hCrossCore® Embedded Studio x.x.x > Blackfin® Development Tools Documentation > Dinkum C and C++ Libraries Reference > Standard C Library Headers > Traditional Standard C Library Headers > <math.h>Regards,Nishanthi.V
There is, apparently, a bug in the CCES parser. It reports that "Symbol 'INFINITY' could not be resolved"
See attached screen shot for what I'm seeing and reporting:
Hi,Could you please confirm that executable(.dxe) file generated successfully after the project builds.If done, You can workaround this by Close and reopen the project in IDDE Project Explorer to make the errors go away.orUnchecking "Symbol not resolved" checkbox under "Syntax and semantic Errors" via CCES menu, Window > Preferences > C/C++ > Code Analysis.Regards,Nishanthi.V
I have confirmed that the executable is successfully built.
Closing and re-opening the project in the CCES Projects sub-window does not make the errors go away. What is "IDDE Project Explorer?" Did you mean "IDE Project Explorer?"
Turning off symbol checking is a lousy way to work around this problem. I want the IDE to do symbol checking for me so I find errors as early as possible. I hope you'll be fixing this in future versions of CCES.
Hi,Yes, it is IDE project explorer. These semantic errors are falsely reported in the problems view. We have logged this issue and which will be fixed in future release of CCES.Regards,Nishanthi.V