Related to [Topic 4055[/URL] which I started earlier...
I'm attempting to create a reproducable version of the code snippet I posted on Stack Overflow (available here). In doing so, I've encountered an issue.
First of all, my executable as it stands doesn't run (this will need some deeper investigation on my part -- as I've mentioned in my other post, I'm a newbie).
Second, the compilation works fine when the target is Checkmate Win32; when the target is Checkmate x64, the following error information is output:
Compiling file: ddmodel14.for
C:\Projects\ML14_ERROR_20190731\ddmodel14.FOR(17) : comment 981 - Specifying the kind of the type LOGICAL with a constant is non-portable - 'SELECTED_INT_KIND(2)' would be better
Access violation:
The instruction at address 00587acc attempted to write to location 5e22f000
00587a8a amd_initialise_data [+0042]
004db82e fill_static_data(<ptr>char,int,<ptr>structᅣconstant_entity,int,int,enumᅣlogical [+0190]
004c73ee allocate_var_space(<ptr>structᅣscope) [+202a]
00417bb9 end_function(int) [+05ce]
00419a64 parse_end_statement(<ptr>char,int,<ref>int) [+0c04]
0041311f handle_token(<ptr>char,int,int,int,int,<ref>int) [+0e82]
004056b3 ProcessEntireLine(void) [+06cf]
004065fa compile(<ptr>char) [+0162]
eax=5e22f000 ebx=05906fb4 ecx=00000004
edx=00000004 esi=04002180 edi=5e22f000
ebp=03d4f030 esp=03d4f004 IOPL=0
ds=002b es=002b fs=0053
gs=002b cs=0023 ss=002b
flgs=00210246 [NC EP ZR SN DN NV]
0360/1120 TSTK=2 [ ]
00587acc rep
00587acd movsb
Compilation completed with no errors.
I've saved the code to a public git repo, available on Bitbucket [url=https://bitbucket.org/dsc_test/ml14_error_20190731/src/master/]here](https://stackoverflow.com/questions/57259820/debugging-access-violation-error-writing-to-2071e05a0-instead-of-3071e05a0).
Using FTN95 v8.51.
Any help/advice will be much appreciated!