Author |
Message |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Fri May 30, 2025 10:27 am Subject: |
Paul
Compiling your working example with FTN95 version 9.11 fails now with the following error
error 463 - Invalid characters(s) after SUBROUTINE expression
pointing at
subroutine c_f_pointer_te ... |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Wed Mar 12, 2025 10:48 am Subject: |
Paul
Thank you for your prompt assistance. Is this an interim release or a full release of FTN95? |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Thu Feb 27, 2025 12:35 pm Subject: |
Paul
Thanks for providing me with a working example. It allowed me to create a reproducer for error 1251 at compile time using FTN95 v.9.10 x64. The reproducer compiles with ifort.
program main
u ... |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Wed Feb 26, 2025 1:41 pm Subject: |
Using FTN95 v. 9.10, a call like
CALL C_F_POINTER(c_string_pointer, char_array_pointer, [255])
still produces an error at compile time
error 1251 - Invalid arguments in call to C_F_ ... |
Topic: Nested modules |
jlb
Replies: 4
Views: 16867
|
Forum: Support Posted: Wed Dec 18, 2024 6:11 pm Subject: |
Paul
Thank you very much for this improvement. |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Tue Nov 05, 2024 5:28 pm Subject: |
Paul
Thank you. I was just wondering as the new implementation was announced for an interim release, but the also needed mod file as in a full release. |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Tue Nov 05, 2024 3:23 pm Subject: |
Paul
Thank you for the clarification. |
Topic: Workaround for C_F_POINTER |
jlb
Replies: 26
Views: 330492
|
Forum: Support Posted: Wed Oct 30, 2024 12:21 pm Subject: |
Should FTN95 v.9.05 be considered an interim release? If so, how to proceed with the required extended definition for the file iso_c_binding.mod (found in the include directory and dated 3rd November ... |
Topic: Query of the compiler version |
jlb
Replies: 4
Views: 15707
|
Forum: Support Posted: Thu Oct 24, 2024 11:07 am Subject: |
Paul
Thank you very much for this clarification, it helps me not to believe in devilry. |
Topic: Query of the compiler version |
jlb
Replies: 4
Views: 15707
|
Forum: Support Posted: Tue Oct 22, 2024 6:08 pm Subject: |
Paul
Thank you for your prompt reply. As a precaution, I searched for all "FTN95.EXE" files on the entire computer using the "dir FTN95.EXE /S" command at the root directory in a ... |
Topic: Query of the compiler version |
jlb
Replies: 4
Views: 15707
|
Forum: Support Posted: Tue Oct 22, 2024 10:07 am Subject: Query of the compiler version |
The intrinsic function COMPILER_VERSION() shows a different result as FTN95.EXE /VERSION.
PROGRAM VER
USE ISO_FORTRAN_ENV
IMPLICIT NONE
WRITE(*,*) 'Compiler version: '//COMPILER_VERSIO ... |
Topic: Nested modules |
jlb
Replies: 4
Views: 16867
|
Forum: Support Posted: Fri Oct 18, 2024 6:34 pm Subject: |
Paul
Thank you for your usual prompt and and enlightening reply. |
Topic: Nested modules |
jlb
Replies: 4
Views: 16867
|
Forum: Support Posted: Thu Oct 17, 2024 9:58 pm Subject: Nested modules |
I cannot understand why the intrinsic function COMPILER_VERSION cannot be accessed from the main program through the nested modules MOD1 and MOD2, but the function DBL can. The compiler warns with
wa ... |
Topic: Allocate on assignment for CHARACTER variables |
jlb
Replies: 10
Views: 31018
|
Forum: Support Posted: Fri Sep 13, 2024 2:22 pm Subject: |
Paul
The whole thing started when I was curious about the "allocate on assignment" feature for CHARACTER variables implemented in FTN95 version 8.95, more or less just for fun. Some of thes ... |
Topic: Allocate on assignment for CHARACTER variables |
jlb
Replies: 10
Views: 31018
|
Forum: Support Posted: Fri Sep 13, 2024 1:10 pm Subject: |
I continued to play with this new feature. Compiling the following example
PROGRAM Simon
IMPLICIT NONE
CHARACTER (LEN=:), ALLOCATABLE :: Says
Says=Sim('clap hands')/ ... |
|