View previous topic :: View next topic |
Author |
Message |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Apr 15, 2020 5:34 pm Post subject: |
|
|
Thanks. I can see it now in win32prm.ins.
I wonder if that means that you have "USE mswin" nested in some way, maybe in a module and also next to a USE for that module. Or maybe in two modules where the two are USEd in the same place.
Can you send a demo please. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Thu Apr 16, 2020 4:51 am Post subject: |
|
|
Paul, I emailed the first reproducer |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Thu Apr 16, 2020 10:54 am Post subject: |
|
|
Dan
I have located a regression that caused the false "Error 1207" and will provide a patch shortly.
I have tried to reproduce the "Error 840: OIC_INFORMATION..." without success so I will wait for your demo program for this. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Thu Apr 16, 2020 7:49 pm Post subject: |
|
|
So when do you edit the parameters file and put there smaller number like Nl=44 does this error 840 still appear? |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Apr 17, 2020 5:54 am Post subject: |
|
|
I have sent another reproducer for error 840 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Apr 17, 2020 9:56 am Post subject: |
|
|
The failure arises from the use of:
Code: | MODULE SomeMod
INCLUDE <windows.ins>
.... |
then, when SomeMod is used:
Code: | USE clrwin
USE SomeMod
.... |
windows.ins contains information that is also in the clrwin module.
In this case INCLUDE <windows.ins> can probably be removed.
The overlap is tollerated when the INCLUDE is replaced by the equivalent "USE mswin". |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Apr 18, 2020 8:48 am Post subject: |
|
|
In the next release of FTN95, the special case described immediately above will not give error 840. The unnecessary duplication will be tolerated on the assumption that the parameter values will be the same. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Sun Apr 19, 2020 3:25 am Post subject: |
|
|
That's good, I think. The compiler has to recognize its own soldiers |
|
Back to top |
|
|
|