cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

On module Counter_2_20 I get this warning:

   

" Error processing element 'register'. error at line 262: invalid address"

   

Should I be worried.

   

Thanks,

   

Phil

0 Likes
Reply
4 Replies
ETRO_SSN583
Esteemed Contributor

Generally speaking its a good idea to track down all warnings and

   

get rid of them either by selected ignore settings or the actual issue.

   

 

   

An error is a bug in compiler or a real problem, generally the later. Either

   

way attention should be paid to it. If you post project forum can take a

   

look at it. Or post a subset of project that produces error if you are not com-

   

fortable posting whole project in a public setting.

   

 

   

Regards, Dana.

0 Likes
Reply
JoMe_264151
Expert II

"register" is a reserved word in C. If you introduced that name with one of your components or with your code, best would be to rename it to "Register" (capital "R"). And obey the hints Dana gave you, no warnings!!!

   

 

   

Bob

0 Likes
Reply
ETRO_SSN583
Esteemed Contributor

Think of a warning this way -

   

 

   

You are a reactor operator, a warning light comes on, flashing, low

   

water level in the core. Reactor (your program) is still running, but not

   

much longer, core metldown imminent. Chernobyl all over.

   

 

   

Food for thought.

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

 We have to clear all warning for our software release. If that is not possiible, we have to make notes for this exception for approval.

0 Likes
Reply