I'm using uVision3 with V8.18 C51 compiler. I have this old code from many years ago which I'm trying to build and supposedly it built fine at that time, but don't know which version of compiler was used. First I had to ignore L232 error for too many recursive calls to segments. Now I get a L227 error and when increasing the page width to the max 132 characters, I still get the error though the number after "POS: " changes. The error happens during creation of the object files, so I have to assume the compiling of each file went well. Anyone has any ideas for me to try?
There are, unfortunately, a lot of people who consider it "fine" for a project to build with warnings - even with many warnings.
:-(
"Anyone has any ideas for me to try?"
For a start, how about giving the full text of that L227 error? Use copy-&-paste - do not manually re-type it.
Unfortunately it is an error and not a warning. The full text of L227 is:
*** FATAL ERROR L227: PARAMETER OUT OF RANGE POS: 601 r PAGEWIDTH (132) PAGELENGTH (2000) RAMSIZE (256) DISABLEWARNING (232)# Target not created
It's the PAGELENGTH that's wrong.
It's a stupid anachronism that's limited to 66 or somesuch - a throwback to the old lineprinter days!
I complained about this years ago!
The page width & length limits are inconsistent between tools and, IIRC, uVision's checking of them is wrong.
Search for NE-IDE = Not Entirely Integrated Development Environment.