GNOME Bugzilla – Bug 722811
Compile time warning in trionan.c
Last modified: 2021-07-05 13:22:14 UTC
Libxml Version : 2.9.1 Warning Message : ========================= trionan.c:218: warning: ‘trio_is_negative’ defined but not used ========================= Problem : ================================= 217 TRIO_PRIVATE int 218 trio_is_negative 219 TRIO_ARGS1((number), 220 double number) 221 { =================================== This function is defined under flag : #if defined(USE_IEEE_754) But, its usage : ================================================= 694 # if defined(USE_IEEE_754) 695 *is_negative = trio_is_negative(number); ================================================== It is under two more flags: 565 #if defined(fpclassify) && defined(signbit) -->taking false 646 # if defined(TRIO_FPCLASSIFY) -->Taking False # if defined(USE_IEEE_754) -->Taking true
I had a look at this, but it isn't trivial to fix. Whether these functions are used depends on a lot of macro magic in the Trio code. AFAICS, this has been addressed in newer version of Trio.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxml2/-/issues/ Thank you for your understanding and your help.