Skip to content

Commit 99d067f

Browse files
committed
link shadows a GNU intrinsic: change name
1 parent 9a1d3ad commit 99d067f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fpm_compiler.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module fpm_compiler
105105
!> Compile a CPP object
106106
procedure :: compile_cpp
107107
!> Link executable
108-
procedure :: link
108+
procedure :: link => link_executable
109109
!> Check whether compiler is recognized
110110
procedure :: is_unknown
111111
!> Check whether this is an Intel compiler
@@ -1203,7 +1203,7 @@ subroutine compile_cpp(self, input, output, args, log_file, stat, table)
12031203
end subroutine compile_cpp
12041204

12051205
!> Link an executable
1206-
subroutine link(self, output, args, log_file, stat)
1206+
subroutine link_executable(self, output, args, log_file, stat)
12071207
!> Instance of the compiler object
12081208
class(compiler_t), intent(in) :: self
12091209
!> Output file of object
@@ -1223,7 +1223,7 @@ subroutine link(self, output, args, log_file, stat)
12231223
! Execute command
12241224
call run(command, echo=self%echo, verbose=self%verbose, redirect=log_file, exitstat=stat)
12251225

1226-
end subroutine link
1226+
end subroutine link_executable
12271227

12281228
!> Create an archive
12291229
!> @todo For Windows OS, use the local `delete_file_win32` in stead of `delete_file`.

0 commit comments

Comments
 (0)