- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.