Project

General

Profile

Bug #5362

Compilation failure with --disable-trace

Added by Dave Pickles almost 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2018-11-28
Due date:
% Done:

100%

Estimated time:
Found in version:
4.3.1593
Affected Versions:

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

#1

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.

Also available in: Atom PDF