Discussion:
Lots of warning compiling libquadmath
Jerry DeLisle
2018-12-09 19:24:13 UTC
Permalink
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)
| ^~~~~~~~

Regards,

Jerry

Loading...