Hello,
I have a problem after updating to CCS5.1.0 to CCS5.2.1. I use CCS only for MSP430
The compiler version is set form 4.0.0 to 4.1.1
In the current project all system included functions are displayed as warning.
See screenshot ->assert function
How can I fix this bug without resetup of the project?
Best regards Silvester Mueller
Hi Silvester,
can you please try reattaching the screenshot? Could you please provide more information? Have you imported the project into a fresh workspace? Is it only warnings you see?
Any further information will help.
Best REgards,Lisa
Here is the screenshot:
I tried both. First I only set the link to the work space folder and changed the compiler version. An import of the project I have also tried but it has no effect.
Yes, its only warning it is shown in the editor but not in the "Problems window".
My colleague who is working also at the project has the same problem.
I tried to add the screen shot 3 time it doesn't work.
assert(0); for example is shown as syntax error only in the editor window
you can try sending it offline in a friend/conversation request. If it is only a warning you are getting, that is nothing to worry about however. This could also be something you can minimze with a setting.
Best Regards,Lisa
Hello Lisa,
it is also when I start the Hello world project. The assert function is show in the editor windows as syntax error.
It's only the assert function. Other system includes are okay.
Code example:
#undef NDEBUG#include <assert.h>#include <stdio.h>/* * hello.c */void main(void) { printf("Hello World!\n"); assert(0);}
Best regards
Silvester
how is the assert function defined? Is it in the assert.h? I can not debug your code for you but it seems this is the path to look into.
Hi Lisa,
It is defined in the assert.h witch is delivered with ccs. Its a C default library.
The function works correct but it is displayed in the editor as syntax erorr in ccs 5.2 -> line: assert(0); The project can be compiled, so it is no critical bug.
In ccs 5.1 it was correctly displayed.
Best Regards
I have been able to reproduce this so we will be looking into it. As soon as there is feedback we will get back to you.
I have filed this as a bug. It is likely a conflict in the editors syntax checker and that of eclipse. The ID is SDSCM00044927 and it can be tracked here
https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDO-Web&contextid=SDOWP&username=readonly&password=readonly
Sorry for any inconvenience and all the best with development.