replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - winio@ failed to match format length
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

winio@ failed to match format length

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
simon



Joined: 05 Jul 2006
Posts: 276

PostPosted: Thu Nov 28, 2024 9:14 pm    Post subject: winio@ failed to match format length Reply with quote

When running a ClearWin+ application with a third-party compiler I am getting the following message:

Quote:
winio@ failed to match format length.
Do you want to continue?


If I select "Yes" the program apparently proceeds without any obvious problem. The same program runs without a message using FTN95.

It would take me a while to try to isolate this problem in an example program, so I am wondering whether anyone knows, simply from the error message, what may be causing it.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8062
Location: Salford, UK

PostPosted: Fri Nov 29, 2024 9:09 am    Post subject: Reply with quote

winio@ calls have varying numbers of arguments which is non-standard for Fortran.

The FTN95 compiler passes an extra argument to handle this but this argument is not provided by third party compilers.

For third party compilers winio$ provides a double pass through the arguments in order to construct the information that would otherwise be provided by FTN95. If the first of these passes fails then you get this error report.

If you do your development using FTN95 then this error report ought to be replaced with a meaningful error about an argument miss-match.

Failing that, %za and %zz provide an alternative way to start and terminate the format string and this may provide a way to indentify the problem. See the help file FTN95.chm under "ClearWin+" then "Compiling and Linking" then "Using ClearWin+ with third party compilers".
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group