Bug #5362
Compilation failure with --disable-trace
100%
Description
Using GCC 8.2.0 on a RPi 2 running Arch Linux:
In file included from src/tvheadend.h:39,
from src/uuid.c:20:
src/tvhlog.h:251:13: error: 'tvhdbg' defined but not used [-Werror=unused-function]
static void tvhdbg(int subsys, const char fmt, ...) {};
^~~~
In file included from src/tvhlog.c:19:
src/tvhlog.h:251:13: error: 'tvhdbg' defined but not used [-Werror=unused-function]
static void tvhdbg(int subsys, const char *fmt, ...) {};
^~~~
cc1: all warnings being treated as errors
make: ** [Makefile:714: /tmp/makepkg/tvheadend/src/tvheadend/build.linux/src/uuid.o] Error 1
In file included from src/tvheadend.h:39,
from src/main.c:39:
src/tvhlog.h:251:13: error: 'tvhdbg' defined but not used [-Werror=unused-function]
static void tvhdbg(int subsys, const char *fmt, ...) {};
^~~~
History
Updated by Jaroslav Kysela almost 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|70af054ac3bdecf68df1594dd48c7a9e0a9de18d.