Project

General

Profile

Bug #3637

compilation error for 7adc49f epggrab: module - use monotonic clocks to measure time diff

Added by g siviero over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-03-16
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-1695~g7adc49f
Affected Versions:

Description

When I try to compile the latest git I get:

...
src/epggrab/module.c: In function ‘epggrab_module_parse’:
src/epggrab/module.c:265:3: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘int64_t’ [-Werror=format=]
   tvhlog(LOG_INFO, mod->id, "parse took %"PRItime_t" seconds", mono2sec(tm2 - tm1));
   ^cc1: all warnings being treated as errors
Makefile:577: set di istruzioni per l'obiettivo "/opt/tvheadend/build.linux/src/epggrab/module.o" non riuscito
make[2]: *** [/opt/tvheadend/build.linux/src/epggrab/module.o] Errore 1
make[2]: uscita dalla directory "/opt/tvheadend" 
debian/rules:11: set di istruzioni per l'obiettivo "override_dh_auto_build" non riuscito
make[1]: *** [override_dh_auto_build] Errore 2
make[1]: uscita dalla directory "/opt/tvheadend" 
debian/rules:5: set di istruzioni per l'obiettivo "build" non riuscito
make: *** [build] Errore 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

History

#1

Updated by Jaroslav Kysela over 8 years ago

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

Applied in changeset commit:tvheadend|f0d1bba1c34922ce24e0b92828fc914ca9059471.

Also available in: Atom PDF