This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error C53: Redefinition of PCDDIS

When I try to compile my code I get the above mentioned error. I checked the registry defintion files and the line where the error is being pointed to is:

sbit  PCDDIS   = SYSCON3^15;


It seems to be fine as PCDDIS is bit 15 of the SYSCON3 registry. Can someone tell me where the error is? This is not the first time I ahve faced this error. With the registry definition files received along with the development board I found T3IN and T3EUD wrongly assigned to port5(they are assigned to Port 3). But this one stumps me.

Parents
  • As Andy notes, you have to find the other, previous, definition. If that one is correct, then you don't need to define the symbol. If incorrect, then you need to fix it.

    BUt another thing: When posting a request relating to an error message, you should ALWAYS post the full error message. Not a summary of the message, but every single character! Characters you think are "noise" may represent important extra information to help you figure out _where_ your problem is.

Reply
  • As Andy notes, you have to find the other, previous, definition. If that one is correct, then you don't need to define the symbol. If incorrect, then you need to fix it.

    BUt another thing: When posting a request relating to an error message, you should ALWAYS post the full error message. Not a summary of the message, but every single character! Characters you think are "noise" may represent important extra information to help you figure out _where_ your problem is.

Children
No data