Silverfrost Forums

Welcome to our forums

Confusion calling winio in 64 bit from gFortran

9 Nov 2017 11:28 #20709

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.

 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?

9 Nov 2017 12:17 #20710

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.

3 Jan 2018 1:08 #21063

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

Please login to reply.