Project

General

Profile

Bug #2370

gcc warnings as error

Added by alf alfonsius about 10 years ago. Updated about 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2014-10-14
Due date:
% Done:

100%

Estimated time:
Found in version:
3.9.1780~ga51677e-dirty
Affected Versions:

Description

src/input/mpegts/mpegts_service.c: In function 'mpegts_service_channel_icon':
src/input/mpegts/mpegts_service.c:406:21: error: unused variable 'ms' [-Werror=unused-variable]
mpegts_service_t ms = (mpegts_service_t)s;
^
cc1: all warnings being treated as errors
Makefile:390: recipe for target '/usr/src/tvheadend-git/tvheadend/build.linux/src/input/mpegts/mpegts_service.o' failed
make: *** [/usr/src/tvheadend-git/tvheadend/build.linux/src/input/mpegts/mpegts_service.o] Error 1

Makefile:

CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations

i change it to CFLAGS += -Wall -Wno-error -Wwrite-strings -Wno-deprecated-declarations
every time after pull so i can compile

Debian GNU/Linux jessie/sid on Linux iptv 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux
gcc (Debian 4.9.1-16) 4.9.1

History

#1

Updated by Jaroslav Kysela about 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|73bf840f14985bbc57b7602b1e539bafd38ece62.

Also available in: Atom PDF