Lots of warning compiling libquadmath
Janne Blomqvist
blomqvist.janne@gmail.com
Sun Dec 9 20:28:00 GMT 2018
On Sun, Dec 9, 2018 at 9:24 PM Jerry DeLisle <jvdelisle@charter.net> wrote:
> Recent changes are giving a bunch of warnings now when building
> libquadmath.
>
> Does someone know how to get rid of these warnings?
>
> For one of the functions for example:
>
> In file included from ../../../../trunk/libgfortran/libgfortran.h:61,
> from ../../../../trunk/libgfortran/ieee/ieee_helper.c:26:
> ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:36:33:
> warning: ‘__qmath_crealq’ specifies less restrictive attribute than its
> target ‘crealq’: ‘nothrow’ [-Wmissing-attributes]
> 36 | #define __qmath3(name) __qmath2(__qmath_ ## name,name,name)
> | ^~~~~~~~
> ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:28:25:
> note: in definition of macro ‘__qmath2’
> 28 | static __typeof(type) name __attribute__
> ((__weakref__(#name2)));
> | ^~~~
> ../../../../trunk/libgfortran/../libquadmath/quadmath_weak.h:113:1:
> note: in expansion of macro ‘__qmath3’
> 113 | __qmath3 (crealq)
> | ^~~~~~~~
>
I've seen those in the past month or so as well. According to 'git blame',
no relevant changes have been made to the libquadmath headers recently, so
I guess this is the result of some changes in the warnings?
--
Janne Blomqvist
More information about the Fortran
mailing list