Warning during compiling

Hi Gnuradio List,
I’m compiling GNU Radio on Ubuntu 6.06. I receive this warning:

…/…/…/…/gnuradio-core/src/lib/io/gr_udp_sink.cc: In member function
‘bool gr_udp_sink::open()’:
…/…/…/…/gnuradio-core/src/lib/io/gr_udp_sink.cc:88: warning: NULL
used in arithmetic
…/…/…/…/gnuradio-core/src/lib/io/gr_udp_source.cc: In member
function ‘virtual int gr_udp_source::work(int,
gr_vector_const_void_star&, gr_vector_void_star&)’:
…/…/…/…/gnuradio-core/src/lib/io/gr_udp_source.cc:139: warning:
comparison between signed and unsigned integer expressions

It’s seems to be a no critical error, but I report it the same.

Regards,

Davide A.

web: http://www.davideanastasia.com/
email: [email protected]

On Sat, Jan 27, 2007 at 04:29:42PM +0100, Davide A. wrote:

Hi Gnuradio List,
I’m compiling GNU Radio on Ubuntu 6.06. I receive this warning:

…/…/…/…/gnuradio-core/src/lib/io/gr_udp_sink.cc: In member function
‘bool gr_udp_sink::open()’:
…/…/…/…/gnuradio-core/src/lib/io/gr_udp_sink.cc:88: warning: NULL
used in arithmetic

This warning did in fact indicate an error. I’ve fixed it.

…/…/…/…/gnuradio-core/src/lib/io/gr_udp_source.cc: In member
function ‘virtual int gr_udp_source::work(int,
gr_vector_const_void_star&, gr_vector_void_star&)’:
…/…/…/…/gnuradio-core/src/lib/io/gr_udp_source.cc:139: warning:
comparison between signed and unsigned integer expressions

It’s seems to be a no critical error, but I report it the same.

Thanks, this also indicates a bug.

Eric

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs