File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 19
19
20
20
jobs :
21
21
22
- linux-gcc14 :
22
+ linux-gcc :
23
23
runs-on : ubuntu-24.04
24
24
timeout-minutes : 15
25
25
38
38
- uses : ./.github/workflows/composite-unix
39
39
40
40
41
- linux-gcc9 :
41
+ linux-gcc-old :
42
42
runs-on : ubuntu-22.04
43
43
timeout-minutes : 15
44
44
59
59
60
60
valgrind-memory :
61
61
runs-on : ubuntu-latest
62
- needs : linux-gcc14
62
+ needs : linux-gcc
63
63
timeout-minutes : 10
64
64
65
65
steps :
79
79
80
80
strategy :
81
81
matrix :
82
- clang-version : [18 ]
82
+ clang-version : [20 ]
83
83
84
84
env :
85
85
CC : clang-${{ matrix.clang-version }}
89
89
steps :
90
90
- uses : actions/checkout@v4
91
91
92
+ - name : Apt LLVM
93
+ run : |
94
+ echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble main" | sudo tee /etc/apt/sources.list.d/llvm-toolchain-noble.list
95
+ sudo apt update
96
+
92
97
- name : install Flang
93
- run : sudo apt install --no-install-recommends flang
98
+ run : sudo apt install --no-install-recommends clang-${{ matrix.clang-version }} flang-${{ matrix.clang-version }}
94
99
95
100
- uses : ./.github/workflows/composite-unix
96
101
Original file line number Diff line number Diff line change @@ -7,9 +7,4 @@ and modern "nullptr" in
7
7
are represented in Fortran
8
8
[ iso_c_binding] ( https://fortranwiki.org/fortran/show/iso_c_binding ) .
9
9
10
- Unlike in C / C++, do not check equality with C_NULL_PTR in Fortran.
11
- Instead, by definition the
12
- [ c_associated()] ( https://fortranwiki.org/fortran/show/c_associated )
13
- logical function returns ".false." if the C_PTR is C_NULL_PTR, and ".true." otherwise.
14
- See [ strptime.f90] ( ./strptime.f90 )
15
- for an example of checking in Fortran for a C null pointer returned from a function.
10
+ See [ nullptr] ( ../nullptr ) for examples of checking for C / C++ NULL / nullptr from Fortran.
You can’t perform that action at this time.
0 commit comments