Skip to content

Commit ff6f2a8

Browse files
committed
error: use Fortran 2018 std
1 parent 9f2e749 commit ff6f2a8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14...3.21)
22

33
project(Fortran_C_CXX_interface
44
LANGUAGES C CXX Fortran
5-
VERSION 1.2.0)
5+
VERSION 1.2.1)
66

77
include(CTest)
88

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export CFLAGS=$CXXFLAGS
4949
Using Fortran statement "stop" or "error stop" with a C/C++ main program works like with a Fortran main program.
5050
The "error*" examples show this.
5151

52-
5352
## References
5453

5554
* [StackOverflow](

src/fortran/error.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module utils
55

66
contains
77

8-
subroutine error_fortran(value) bind(C)
8+
pure subroutine error_fortran(value) bind(C)
99

1010
integer(c_int), intent(in) :: value
1111

0 commit comments

Comments
 (0)