Page 1 of 1

issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Wed Aug 31, 2016 3:03 am
by DGDanforth
Discussion http://forum.blackboxframework.org/view ... f=40&t=499
Diffs http://redmine.blackboxframework.org/pr ... 3e1d01b11f

I am assuming that Josef' solution is the one that has been pushed.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Wed Aug 31, 2016 7:54 am
by Robert
I am not voting yet as the discussion does not appear to be finished.

(I may not be able to vote until Tuesday as I am going away, and will have limited WiFi access.)

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 11:04 am
by Ivan Denisov
I want to point your attention to one interesting point :)
That this voting will be finished if somebody else make any choice to reach the quorum.
So the democracy will win and we will finish this painful discussion.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 5:55 pm
by Ivan Denisov
Please take a look for alternative solution.
http://forum.blackboxframework.org/view ... 4604#p4601

It makes the VAL fit the Platform Specific Issues documentation.

I am suggesting to make calls and operations be forbidden as the second argument of VAL.

There should be variables and constants only.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 6:38 pm
by Zinn
Ivan, you are wasting our time. There is no need for this change. It breaks old software.
Please, please, please stop the discussion at this topic.

You should take your time and solve the StdFolds problem. Otherwise we have to roll back to version 1.6
- Helmut

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 6:47 pm
by Ivan Denisov
Zinn wrote:Ivan, you are wasting our time. There is no need for this change. It breaks old software.
Please, please, please stop the discussion at this topic.

You should take your time and solve the StdFolds problem. Otherwise we have to roll back to version 1.6
We already made old software incompatible with 1.7. So I do not see any problem with this. Transition is trivial. I have made it for the whole BlackBox in 15 minutes.
I am suggesting to fix the problem in the root and at the same time reduce complexity of the system.
Now I know from the designer that this complexity is the initial design for "confusing russians" :) so it is much work to do for make it simple as AK-47.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 7:11 pm
by Zinn
Unnecessary change is always a problem.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Thu Sep 01, 2016 7:34 pm
by Ivan Denisov
Zinn wrote:You should take your time and solve the StdFolds problem.
I had sent you detailed instructions how to do this with your Ubuntu. It is not hard. Try to do this single commit for the final release. This will be symbolical because there are a lot of your's work in it.

Re: issue-#126 Compiler TRAP for SYSTEM.VAL(LONGINT, intreg)

Posted: Fri Sep 02, 2016 11:34 pm
by DGDanforth
The vote passes and is implemented with "ELSE" rather than "RETURN".