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: trunk build error in libgfortran/ieee/ieee_arithmetic.F90


2016-12-15 16:09 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
> Hi all,
>
> when building the current trunk, I ran into the following error in libgfortran:
>
>
> /home/janus/gcc/trunk/libgfortran/ieee/ieee_arithmetic.F90:755:47:
>
>    elemental logical function IEEE_CLASS_TYPE_EQ (X, Y) result(res)
>                                                1
> /home/janus/gcc/trunk/libgfortran/ieee/ieee_arithmetic.F90:767:47:
>
>    elemental logical function IEEE_ROUND_TYPE_EQ (X, Y) result(res)
>                                                2
> Error: Ambiguous interfaces in intrinsic '==' operator for
> ‘ieee_class_type_eq’ at (1) and ‘ieee_round_type_eq’ at (2)
>
>
> Does anyone else see this or is it just me?

Oh well. In fact I was not building a clean trunk, but trying to test
a patch. However, I did not notice that the above error actually
appeared in Fortran code and it did not occur to me at all that it
might be my own fault.

After a bit of reflection it turns out that this wound is clearly
self-inflicted. Sorry for the noise :(

Cheers,
Janus


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