Skip to content

Instantly share code, notes, and snippets.

@v1kko
Last active February 2, 2022 12:35
Show Gist options
  • Save v1kko/5ceadb2710978c3280c645bd358545ce to your computer and use it in GitHub Desktop.
Save v1kko/5ceadb2710978c3280c645bd358545ce to your computer and use it in GitHub Desktop.
code_4
> gfortran -fimplicit-none -Werror=implicit-interface main.f90 hello_world.f90 -o hello_world
 main.f90:2:31:

   2 |   call hello_world("You there")
     |                               1
 Error: Procedure ‘hello_world’ called with an implicit interface at (1) [-Werror=implicit-interface]
 f951: some warnings being treated as errors
 hello_world.f90:1:27:

   1 | subroutine hello_world(name)
     |                           1
 Error: Symbol ‘name’ at (1) has no IMPLICIT type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment