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.

Warning message

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

    I am having some warnings since I have migrated from CCSv5 to CCSv5.3.

The message says:

#303-D typedef name has already been declared (with same type)


  This message is being showed at the beginning of the code, the same message for six consecutive lines of code. The problem is that the message is being showed for every single .c file in my project.

  I have investigated a little bit and it seems that the message is not really applicable to all those files, but just to a specific heather file that is included in the project. The message is really talking about a portion of the code that goes:

typedef int int16;
typedef long int32;
typedef unsigned int Uint16;
typedef unsigned long Uint32;

typedef float float32;
typedef long double float64;

  Do you have any idea on how to solve this?

  Thanks,

Lucas



  • Can we eliminate your code as a variable?  Do you get the same message when you build an unmodified example from controlSUITE?

  • Hi.

    I have a same problem like you, and I'm using CCSv5.4.

    #303-D typedef name has already been declared (with same type).

    These warning messages occurred from not only general code but also comment lines!

    So, I tried some compiler like 7.3.4, 7.3.13, 7.4.5 to solve this, but it doesn't work.

    It doesn't matter with compiling but I wanna get ride of these warning messages.

    How can I solve this?

    Thanks.