Has anybody seen this error:
REPLACE/CONCAT may not result in data > 32000 bytes. (11678)
while running Prolint?
I'm running it against code that hasn't been Prolinted in the past, and this has come up for several of the compile units so far. (Still running)
Is there a way to get a stack trace when this kind of error happens? Seems like OE ought to tell me which line of code the error happened at.
rule nobreakby fixed
I have fixed this recently. Or at least made the chance that this error occurs a whole lot less and, as a side-effect, made the rule a lot faster too. See subversion revision 359.
You can get the latest version of nobreakby.p from subversion trunk/prolint/rules or from the following link:
http://websvn.oehive.org/filedetails.php?repname=prolint&path=%2Ftrunk%2...
Re: rule nobreakby fixed
That's fantastic - thanks! That did the trick. Prolint has great tech support. :-)
Re:Error 11678
In the windows world, -debugalert on the prowin32 command line / shortcut will get you a stack trace, the message still pops up but there will be a help button that will give you the trace.
I'm assuming there's something similar in a *nix environment (mpro session), I've not been in one to try it.
Re:Error 11678
Very helpful, thanks!
Here the last half of the stack trace:
I will take a look at nobreakby.p as soon as I get a chance. I'll have to read more about -debugalert; there sure aren't 454 lines in nobreakby.p!
Compile
Compile prolint/rules/nobreakby.p with the DEBUG-LIST option to get a listing that matches the line numbers. Alternatively fire up the debugger when you get the error.
The difference between line numbers in the source and the debugger listing is caused by includes.