This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem building BLAS and LAPACK with -fimplicit-none


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]