Discussion Forum

Error C53: Redefinition of PCDDIS

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
AJ ,Boston
Posted
25-Sep-2008 21:21 GMT
Toolset
C166
New! 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.

Read-Only
Author
Andy Neil
Posted
25-Sep-2008 22:10 GMT
Toolset
C166
New! Look carefulyl at the words

The word "Redefinition" means that something already defined is being defined again; that is, it is being re-defined.

So, you just need to find the other definition - and then remove one of them!

Read-Only
Author
Per Westermark
Posted
26-Sep-2008 01:04 GMT
Toolset
C166
New! RE: Look carefulyl at the words

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.

Next Thread | Thread List | Previous Thread Start a Thread | Settings