This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
in gcc we can write the initialization of an struct like:
MyStrct_t MyStruct = { .var2 = 0x0123, .var1 = 0x4567 }
with the point before the internal variable of the struct.
In C2000 it doesn´t work. Does it give somethink like this?
Thanks for answering.
regards
David
When I use recent versions of the C2000 compiler, it works for me. With very old versions, I have to add the option --gcc.
If that doesn't resolve the problem, then I need a test case. For the source file that has this problem, please follow the directions in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George