sensors plugin does not compile with gcc-10
Submitted by Mukundan Ragavan
Assigned to Fabian Nowak @timystery
Description
sensors plugin does not compile with gcc-10
Build log here - https://koji.fedoraproject.org/koji/taskinfo?taskID=41325319
/usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:240: multiple definition of temperature_unit_change'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:240: first defined here /usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:230: multiple definition of
maximum_changed'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:230: first defined here
/usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:218: multiple definition of minimum_changed'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:218: first defined here /usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:205: multiple definition of
list_cell_color_edited'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:205: first defined here
/usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:193: multiple definition of list_cell_toggle'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:193: first defined here /usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:182: multiple definition of
list_cell_text_edited'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:182: first defined here
/usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:171: multiple definition of sensor_entry_changed'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:171: first defined here /usr/bin/ld: .libs/libxfce4sensors_la-configuration.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:161: multiple definition of
adjustment_value_changed'; .libs/libxfce4sensors_la-middlelayer.o:/builddir/build/BUILD/xfce4-sensors-plugin-1.3.92/lib/../include/sensors-interface-common.h:161: first defined here
The issue is most likely https://gcc.gnu.org/gcc-10/porting_to.html#common.