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 

Confusion calling winio in 64 bit from gFortran

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



Joined: 25 Feb 2016
Posts: 110

PostPosted: Thu Nov 09, 2017 12:28 pm    Post subject: Confusion calling winio in 64 bit from gFortran Reply with quote

I'm encountering issues with the hidden size parameter when using winio with gFortran. I thought that it was working under gFortran and it was my mistake but I can't see what I'm doing wrong.

Code:
 integer iw
 integer*8 window
 print *, SIZEOF(window)       ! Outputs 8
 print *, STORAGE_SIZE(window) ! Outputs 64
 ! Errors with 'Argument number 2 of WINIO@ should be a 64 bit integer'
 iw=winio$('%hw', window)


This is when using the most recent version prior to today's release. I have not downloaded version 8.2 yet.

Will I have to define multiple interfaces or a C wrapper?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Nov 09, 2017 1:17 pm    Post subject: Reply with quote

Ryan

It's a bug in the implementation of ClearWin+ for third party compilers.

It has now been fixed but you will need new DLLs after those in v8.2 of the full release.

You will probably get away with using INTEGER*4 for now but you will need to change back when you get the latest DLLs.
Back to top
View user's profile Send private message AIM Address
Ryan



Joined: 25 Feb 2016
Posts: 110

PostPosted: Wed Jan 03, 2018 2:08 pm    Post subject: Reply with quote

Are you able to provide an update on when new DLLs might be available? I'm happy to beta test and it would help us move our 64 bit build forward.

Regards

Ryan
Back to top
View user's profile Send private message
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