This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: problem building BLAS and LAPACK with -fimplicit-none
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Barron Bichon <barron dot bichon at swri dot org>
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 19 Aug 2009 16:57:13 +0200
- Subject: Re: problem building BLAS and LAPACK with -fimplicit-none
- References: <4A8C0FD9.8020506@swri.org>
Hi Barron,
> I updated and rebuilt gfortran (trunk) yesterday (though it had been quite a
> while since I had last done this, so I am not implying this problem was
> introduced yesterday) and I now get an error when attempting to build
> several BLAS and LAPACK source files with the '-fimplicit-none' flag. For
> instance, when building http://www.netlib.org/blas/dgbmv.f I get the
> following error message:
>
>> gfortran -c -fimplicit-none dgbmv.f
> dgbmv.f:297.72:
>
> ? ? ?END
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1
> Error: Symbol 'a1' at (1) has no IMPLICIT type
> dgbmv.f:297.72:
>
> ? ? ?END
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1
> Error: Symbol 'a2' at (1) has no IMPLICIT type
> dgbmv.f:143.19:
>
> ? ? ?INTRINSIC MAX,MIN
> ? ? ? ? ? ? ? ? ? 1
> Error: Function 'max' at (1) has no IMPLICIT type
> dgbmv.f:143.23:
>
> ? ? ?INTRINSIC MAX,MIN
> ? ? ? ? ? ? ? ? ? ? ? 1
> Error: Function 'min' at (1) has no IMPLICIT type
>
> When '-fimplicit-none' is removed, the file compiles without error. Tested
> on OS X and Linux.