View previous topic :: View next topic |
Author |
Message |
Ryan
Joined: 25 Feb 2016 Posts: 110
|
Posted: Thu Nov 09, 2017 12:28 pm Post subject: Confusion calling winio in 64 bit from gFortran |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7932 Location: Salford, UK
|
Posted: Thu Nov 09, 2017 1:17 pm Post subject: |
|
|
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 |
|
|
Ryan
Joined: 25 Feb 2016 Posts: 110
|
Posted: Wed Jan 03, 2018 2:08 pm Post subject: |
|
|
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 |
|
|
|