[dvblast-devel] add stream pass-through from config file ('*')

Dan Lita dan.lita at b1tv.ro
Wed Jul 29 11:50:44 CEST 2015


Dear Cristophe Massiot,

I've tried to compile dvblast 3.0 with libev on Centos 6 and Centos 7.
On Centos 6 with libev-devel-4.04-2.el6.x86_64 it fails to compile.
with libev-4.20 installed from source it compiles but with warnings.

On Centos 7 with libev-devel-4.15-4.el7.x86_64
it also compile with warnings.

Here is the output for:
CentOS release 6.6 (Final)        2.6.32-504.30.3.el6.x86_64

[root at s99 dvblast]# make
CC      dvblast.c
dvblast.c: In function âmainâ:
dvblast.c:1213: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvblast.c:1213: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvblast.c:1213: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvblast.c:1213: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvblast.c:1213: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:540: warning: dereferencing pointer âw.520â does break 
strict-aliasing rules
dvblast.c:540: note: initialized from here
dvblast.c:1213: warning: dereferencing pointer âquit_watcher.589â does 
break strict-aliasing rules
dvblast.c:1213: warning: dereferencing pointer âquit_watcher.589â does 
break strict-aliasing rules
dvblast.c:1213: warning: dereferencing pointer âquit_watcher.589â does 
break strict-aliasing rules
dvblast.c:1213: note: initialized from here
dvblast.c:1213: warning: dereferencing pointer âquit_watcher.589â does 
break strict-aliasing rules
dvblast.c:1213: note: initialized from here
dvblast.c:1213: warning: dereferencing pointer âquit_watcher.590â does 
break strict-aliasing rules
dvblast.c:1213: note: initialized from here
CC      util.c
CC      dvb.c
dvb.c: In function âdvb_Openâ:
dvb.c:130: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:130: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:130: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:130: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:135: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:135: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:135: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:135: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:139: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:139: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:139: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:139: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:139: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:142: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:142: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:142: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:142: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:142: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c: In function âFrontendReadâ:
dvb.c:389: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:389: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:389: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:389: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:389: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
dvb.c:621:2: warning: #warning Your linux-dvb headers are old, you 
should consider upgrading your kernel and/or compiling against different 
kernel headers
dvb.c: In function âdvb_Openâ:
dvb.c:130: warning: dereferencing pointer âdvr_watcher.315â does break 
strict-aliasing rules
dvb.c:130: warning: dereferencing pointer âdvr_watcher.315â does break 
strict-aliasing rules
dvb.c:130: warning: dereferencing pointer âdvr_watcher.315â does break 
strict-aliasing rules
dvb.c:130: note: initialized from here
dvb.c:130: warning: dereferencing pointer âdvr_watcher.315â does break 
strict-aliasing rules
dvb.c:130: note: initialized from here
dvb.c:135: warning: dereferencing pointer âfrontend_watcher.317â does 
break strict-aliasing rules
dvb.c:135: warning: dereferencing pointer âfrontend_watcher.317â does 
break strict-aliasing rules
dvb.c:135: warning: dereferencing pointer âfrontend_watcher.317â does 
break strict-aliasing rules
dvb.c:135: note: initialized from here
dvb.c:135: warning: dereferencing pointer âfrontend_watcher.317â does 
break strict-aliasing rules
dvb.c:135: note: initialized from here
dvb.c:139: warning: dereferencing pointer âlock_watcher.318â does break 
strict-aliasing rules
dvb.c:139: warning: dereferencing pointer âlock_watcher.318â does break 
strict-aliasing rules
dvb.c:139: warning: dereferencing pointer âlock_watcher.318â does break 
strict-aliasing rules
dvb.c:139: note: initialized from here
dvb.c:139: warning: dereferencing pointer âlock_watcher.318â does break 
strict-aliasing rules
dvb.c:139: note: initialized from here
dvb.c:139: warning: dereferencing pointer âlock_watcher.319â does break 
strict-aliasing rules
dvb.c:139: note: initialized from here
dvb.c:142: warning: dereferencing pointer âmute_watcher.321â does break 
strict-aliasing rules
dvb.c:142: warning: dereferencing pointer âmute_watcher.321â does break 
strict-aliasing rules
dvb.c:142: warning: dereferencing pointer âmute_watcher.321â does break 
strict-aliasing rules
dvb.c:142: note: initialized from here
dvb.c:142: warning: dereferencing pointer âmute_watcher.321â does break 
strict-aliasing rules
dvb.c:142: note: initialized from here
dvb.c:142: warning: dereferencing pointer âmute_watcher.322â does break 
strict-aliasing rules
dvb.c:142: note: initialized from here
dvb.c: In function âFrontendReadâ:
dvb.c:389: warning: dereferencing pointer âprint_watcher.351â does break 
strict-aliasing rules
dvb.c:389: warning: dereferencing pointer âprint_watcher.351â does break 
strict-aliasing rules
dvb.c:389: warning: dereferencing pointer âprint_watcher.351â does break 
strict-aliasing rules
dvb.c:389: note: initialized from here
dvb.c:389: warning: dereferencing pointer âprint_watcher.351â does break 
strict-aliasing rules
dvb.c:389: note: initialized from here
dvb.c:389: warning: dereferencing pointer âprint_watcher.352â does break 
strict-aliasing rules
dvb.c:389: note: initialized from here
CC      udp.c
udp.c: In function âudp_Openâ:
udp.c:274: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:274: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:274: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:274: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:277: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:277: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:277: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:277: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:277: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
udp.c:274: warning: dereferencing pointer âudp_watcher.39â does break 
strict-aliasing rules
udp.c:274: warning: dereferencing pointer âudp_watcher.39â does break 
strict-aliasing rules
udp.c:274: warning: dereferencing pointer âudp_watcher.39â does break 
strict-aliasing rules
udp.c:274: note: initialized from here
udp.c:274: warning: dereferencing pointer âudp_watcher.39â does break 
strict-aliasing rules
udp.c:274: note: initialized from here
udp.c:277: warning: dereferencing pointer âmute_watcher.41â does break 
strict-aliasing rules
udp.c:277: warning: dereferencing pointer âmute_watcher.41â does break 
strict-aliasing rules
udp.c:277: warning: dereferencing pointer âmute_watcher.41â does break 
strict-aliasing rules
udp.c:277: note: initialized from here
udp.c:277: warning: dereferencing pointer âmute_watcher.41â does break 
strict-aliasing rules
udp.c:277: note: initialized from here
udp.c:277: warning: dereferencing pointer âmute_watcher.42â does break 
strict-aliasing rules
udp.c:277: note: initialized from here
CC      asi.c
asi.c: In function âasi_Openâ:
asi.c:183: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:183: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:183: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:183: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:186: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:186: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:186: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:186: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:186: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
asi.c:183: warning: dereferencing pointer âasi_watcher.31â does break 
strict-aliasing rules
asi.c:183: warning: dereferencing pointer âasi_watcher.31â does break 
strict-aliasing rules
asi.c:183: warning: dereferencing pointer âasi_watcher.31â does break 
strict-aliasing rules
asi.c:183: note: initialized from here
asi.c:183: warning: dereferencing pointer âasi_watcher.31â does break 
strict-aliasing rules
asi.c:183: note: initialized from here
asi.c:186: warning: dereferencing pointer âmute_watcher.33â does break 
strict-aliasing rules
asi.c:186: warning: dereferencing pointer âmute_watcher.33â does break 
strict-aliasing rules
asi.c:186: warning: dereferencing pointer âmute_watcher.33â does break 
strict-aliasing rules
asi.c:186: note: initialized from here
asi.c:186: warning: dereferencing pointer âmute_watcher.33â does break 
strict-aliasing rules
asi.c:186: note: initialized from here
asi.c:186: warning: dereferencing pointer âmute_watcher.34â does break 
strict-aliasing rules
asi.c:186: note: initialized from here
CC      demux.c
demux.c: In function âdemux_Openâ:
demux.c:429: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:429: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:429: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:429: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:429: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c: In function âdemux_Handleâ:
demux.c:604: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:604: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:604: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:604: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:604: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:611: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:611: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:611: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:611: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c:611: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
demux.c: In function âdemux_Openâ:
demux.c:429: warning: dereferencing pointer âprint_watcher.792â does 
break strict-aliasing rules
demux.c:429: warning: dereferencing pointer âprint_watcher.792â does 
break strict-aliasing rules
demux.c:429: warning: dereferencing pointer âprint_watcher.792â does 
break strict-aliasing rules
demux.c:429: note: initialized from here
demux.c:429: warning: dereferencing pointer âprint_watcher.792â does 
break strict-aliasing rules
demux.c:429: note: initialized from here
demux.c:429: warning: dereferencing pointer âprint_watcher.793â does 
break strict-aliasing rules
demux.c:429: note: initialized from here
CC      output.c
output.c: In function âoutput_Putâ:
output.c:525: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c: In function âoutputs_Sendâ:
output.c:575: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c: In function âoutputs_Initâ:
output.c:585: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c:585: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c:585: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c:585: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c:585: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
output.c:585: warning: dereferencing pointer âoutput_watcher.58â does 
break strict-aliasing rules
output.c:585: warning: dereferencing pointer âoutput_watcher.58â does 
break strict-aliasing rules
output.c:585: warning: dereferencing pointer âoutput_watcher.58â does 
break strict-aliasing rules
output.c:585: note: initialized from here
output.c:585: warning: dereferencing pointer âoutput_watcher.58â does 
break strict-aliasing rules
output.c:585: note: initialized from here
output.c:585: warning: dereferencing pointer âoutput_watcher.59â does 
break strict-aliasing rules
output.c:585: note: initialized from here
output.c: In function âoutputs_Sendâ:
output.c:575: warning: dereferencing pointer âoutput_watcher.57â does 
break strict-aliasing rules
output.c:575: note: initialized from here
output.c: In function âoutput_Putâ:
output.c:525: warning: dereferencing pointer âoutput_watcher.48â does 
break strict-aliasing rules
output.c:525: note: initialized from here
CC      en50221.c
en50221.c: In function âDateTimeHandleâ:
en50221.c:1500: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c: In function âDateTimeOpenâ:
en50221.c:1540: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1540: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1540: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1540: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1540: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c: In function âResetSlotâ:
en50221.c:1911: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1911: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1911: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1911: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:1911: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c: In function âen50221_Initâ:
en50221.c:2050: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2050: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2050: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2050: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2053: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2053: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2053: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2053: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2053: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
en50221.c:2050: warning: dereferencing pointer âcam_watcher.831â does 
break strict-aliasing rules
en50221.c:2050: warning: dereferencing pointer âcam_watcher.831â does 
break strict-aliasing rules
en50221.c:2050: warning: dereferencing pointer âcam_watcher.831â does 
break strict-aliasing rules
en50221.c:2050: note: initialized from here
en50221.c:2050: warning: dereferencing pointer âcam_watcher.831â does 
break strict-aliasing rules
en50221.c:2050: note: initialized from here
en50221.c:2053: warning: dereferencing pointer âslot_watcher.833â does 
break strict-aliasing rules
en50221.c:2053: warning: dereferencing pointer âslot_watcher.833â does 
break strict-aliasing rules
en50221.c:2053: warning: dereferencing pointer âslot_watcher.833â does 
break strict-aliasing rules
en50221.c:2053: note: initialized from here
en50221.c:2053: warning: dereferencing pointer âslot_watcher.833â does 
break strict-aliasing rules
en50221.c:2053: note: initialized from here
en50221.c:2053: warning: dereferencing pointer âslot_watcher.834â does 
break strict-aliasing rules
en50221.c:2053: note: initialized from here
CC      comm.c
comm.c: In function âcomm_Openâ:
comm.c:78: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
comm.c:78: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
comm.c:78: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
comm.c:78: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
comm.c:78: warning: dereferencing pointer âcomm_watcher.311â does break 
strict-aliasing rules
comm.c:78: warning: dereferencing pointer âcomm_watcher.311â does break 
strict-aliasing rules
comm.c:78: warning: dereferencing pointer âcomm_watcher.311â does break 
strict-aliasing rules
comm.c:78: note: initialized from here
comm.c:78: warning: dereferencing pointer âcomm_watcher.311â does break 
strict-aliasing rules
comm.c:78: note: initialized from here
CC      mrtg-cnt.c
CC      asi-deltacast.c
LINK    dvblast
CC      dvblastctl.c
LINK    dvblastctl
[root at s99 dvblast]


Here is the output for:
CentOS Linux release 7.1.1503 (Core) 3.10.0-229.7.2.el7.x86_64

[root at s165 dvblast]# make
CC      dvblast.c
dvblast.c: In function âmainâ:
dvblast.c:1213:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_init(&quit_watcher, quit_cb,
          ^
dvblast.c:1213:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvblast.c:1213:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvblast.c:1213:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      util.c
CC      dvb.c
dvb.c: In function âdvb_Openâ:
dvb.c:130:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_io_init(&dvr_watcher, DVRRead, i_dvr, EV_READ);
      ^
dvb.c:130:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:130:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:135:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_io_init(&frontend_watcher, FrontendRead, i_frontend, EV_READ);
          ^
dvb.c:135:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:135:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:139:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&lock_watcher, FrontendLockCb,
      ^
dvb.c:139:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:139:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:139:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:142:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&mute_watcher, DVRMuteCb,
      ^
dvb.c:142:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:142:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:142:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c: In function âFrontendReadâ:
dvb.c:389:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
                      ev_timer_init( &print_watcher, PrintCb,
                      ^
dvb.c:389:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:389:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
dvb.c:389:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      udp.c
udp.c: In function âudp_Openâ:
udp.c:274:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_io_init(&udp_watcher, udp_Read, i_handle, EV_READ);
      ^
udp.c:274:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
udp.c:274:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
udp.c:277:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&mute_watcher, udp_MuteCb,
      ^
udp.c:277:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
udp.c:277:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
udp.c:277:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      asi.c
asi.c: In function âasi_Openâ:
asi.c:183:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_io_init(&asi_watcher, asi_Read, i_handle, EV_READ);
      ^
asi.c:183:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
asi.c:183:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
asi.c:186:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&mute_watcher, asi_MuteCb,
      ^
asi.c:186:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
asi.c:186:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
asi.c:186:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      demux.c
demux.c: In function âdemux_Openâ:
demux.c:429:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_init( &print_watcher, PrintCb,
          ^
demux.c:429:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:429:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:429:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c: In function âdemux_Handleâ:
demux.c:604:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
                      ev_timer_init( &p_pid->timeout_watcher, PrintESCb,
                      ^
demux.c:604:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:604:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:604:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:611:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
                      ev_timer_init( &p_pid->timeout_watcher, PrintESCb, 
30, 30 );
                      ^
demux.c:611:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:611:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
demux.c:611:21: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      output.c
output.c: In function âoutput_Putâ:
output.c:525:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_set(&output_watcher, (i_next_send - i_wallclock) / 
1000000., 0);
          ^
output.c: In function âoutputs_Sendâ:
output.c:575:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_set(&output_watcher, (i_next_send - i_wallclock) / 
1000000., 0);
          ^
output.c: In function âoutputs_Initâ:
output.c:585:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&output_watcher, outputs_Send, 0, 0);
      ^
output.c:585:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
output.c:585:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
output.c:585:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      en50221.c
en50221.c: In function âDateTimeHandleâ:
en50221.c:1500:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_set(&p_date->watcher, p_date->i_interval,
          ^
en50221.c: In function âDateTimeOpenâ:
en50221.c:1540:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&p_date->watcher, _DateTimeSend, 0, 0);
      ^
en50221.c:1540:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:1540:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:1540:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c: In function âResetSlotâ:
en50221.c:1911:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_timer_init(&p_slot->init_watcher, ResetSlotCb,
      ^
en50221.c:1911:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:1911:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:1911:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c: In function âen50221_Initâ:
en50221.c:2050:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_io_init(&cam_watcher, en50221_Read, i_ca_handle, EV_READ);
          ^
en50221.c:2050:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:2050:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:2053:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
          ev_timer_init(&slot_watcher, en50221_Poll, CA_POLL_PERIOD / 
1000000.,
          ^
en50221.c:2053:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:2053:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
en50221.c:2053:9: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      comm.c
comm.c: In function âcomm_Openâ:
comm.c:78:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
      ev_io_init(&comm_watcher, comm_Read, i_comm_fd, EV_READ);
      ^
comm.c:78:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
comm.c:78:5: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
CC      mrtg-cnt.c
CC      asi-deltacast.c
LINK    dvblast
CC      dvblastctl.c
LINK    dvblastctl
[root at s165 dvblast]


Although DVBlast 3.0 (git-2.2-85-g1e826c9) works

Is there anything I'm doing wrong or is there anything I'm missing?


Thank You
Dan.




More information about the dvblast-devel mailing list