Page 1 of 1

issue-#43 eliminating the code procedure size limit of 256

Posted: Wed May 13, 2015 10:48 am
by Josef Templ
This issue is about eliminating the code procedure size limit of 256 bytes.
See http://redmine.blackboxframework.org/issues/43.

Normally, this limit would not be a problem to anybody because code procedures
are system dependent and used rarely. However, there has been somebody who went into this limit.
In general, it is better not to have a limit than to have one. So I would support eliminating this limit.
A proposal for the required changes exists in CPC 1.7 rc5. The changes are simple and natural.
Instead of a fixed size array, a dynamically allocated array is used that is extended on overflow.

For the changes see http://redmine.blackboxframework.org/pr ... baa715cef4.

The changes are as proposed in CPC 1.7 rc5 with one addition in DevCPP/DevAnalyzer.GetCode:
err(64) changed to err(63). 64 was an inappropriate error number.

@HELMUT, luowy:
Do you know to which issue the following change in DevCPP.IncompleteType belongs?

Code: Select all


- 20130710, luowy, IncompleteType BUGFIX

IF typ = DevCPT.sysptrtyp THEN RETURN FALSE END; (*<< luowy BUGFIX 2013/07/10 *)
- Josef

Re: issue-#43 eliminating the code procedure size limit of 2

Posted: Thu May 14, 2015 3:51 am
by luowy
Josef Templ wrote:@HELMUT, luowy:
Do you know to which issue the following change in DevCPP.IncompleteType belongs?

Code: Select all

- 20130710, luowy, IncompleteType BUGFIX

IF typ = DevCPT.sysptrtyp THEN RETURN FALSE END; (*<< luowy BUGFIX 2013/07/10 *)

check this link,please
blackbox maillist 2013.07 http://blackboxframework.org/archive/2013/3053.html

luowy

Re: issue-#43 eliminating the code procedure size limit of 2

Posted: Thu May 14, 2015 1:27 pm
by Ivan Denisov
Author is Oleg N. Cher
http://blackboxframework.org/archive/2012/3377.html
https://github.com/Oleg-N-Cher/XDev/com ... 2a8a16feca
http://zinnamturm.eu/pac/B2015.0505.txt
Search: "20. Remove compiler restriction of code procedure size (Open Points #45):"

Re: issue-#43 eliminating the code procedure size limit of 2

Posted: Thu May 14, 2015 7:24 pm
by Josef Templ
The TRAP fixing is from luowy,
the code procedure proposal is from Oleg, right?

- Josef