View previous topic :: View next topic |
Author |
Message |
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Fri May 18, 2018 11:31 am Post subject: ClearWin+ Error |
|
|
When I start a program compiled with the latest beta version I get an Error message:
ClearWin+ Error
%CW fortran unit number should not be zero. Do you want to continue? Click No to abort.
This is contrary to the description of %CW:
fortran_unit is the unit number of the input/output stream. Use zero for the default stream.
This does not happen with FTN95 8.30 |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Fri May 18, 2018 5:07 pm Post subject: |
|
|
EKruck,
this post about a month ago relates to your problem I think ....
http://forums.silverfrost.com/viewtopic.php?t=3762 _________________ ''Computers (HAL and MARVIN excepted) are incredibly rigid. They question nothing. Especially input data.Human beings are incredibly trusting of computers and don't check input data. Together cocking up even the simplest calculation ... " |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7934 Location: Salford, UK
|
Posted: Sat May 19, 2018 6:58 am Post subject: |
|
|
Erwin
A Fortran unit number of zero has been shown to cause a failure in some contexts and at the moment there is no better fix than to give this warning.
As you say, this contradicts the existing documentation. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Sat May 19, 2018 7:43 am Post subject: |
|
|
Paul,
is there any possibility to suppress this warning? I cannot explain this to my customers.
Erwin |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7934 Location: Salford, UK
|
Posted: Sat May 19, 2018 8:49 am Post subject: |
|
|
Erwin
I don't remember if you need to use the latest beta version.
Can you revert to the DLLs that go with v8.30?
Alternatively you can change the unit number in your code or I can send you DLLs that have this warning removed. |
|
Back to top |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Sat May 19, 2018 9:31 am Post subject: |
|
|
Paul,
I went back to 8.30. However I would enjoy to have the chance to have no such message in the next release. (Or to be able to switch it off.)
Erwin |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7934 Location: Salford, UK
|
Posted: Sat May 19, 2018 9:50 am Post subject: |
|
|
Erwin
I will see what can be done for the next release. |
|
Back to top |
|
|
|