1 commit a1cf11937665392bcfa223a5095ff903eb44c69b
2 Author: Jaroslav #karvada <jskarvad@redhat.com>
3 Date: Fri Feb 12 18:29:13 2016 +0100
6 http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/a1cf11937665392bcfa223a5095ff903eb44c69b
8 Fix compilation in gcc-6
10 Signed-off-by: Jaroslav #karvada <jskarvad@redhat.com>
11 Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
13 diff --git a/gr-fec/include/gnuradio/fec/polar_decoder_common.h b/gr-fec/include/gnuradio/fec/polar_decoder_common.h
14 index b0ecb85..a39ee4f 100644
15 --- a/gr-fec/include/gnuradio/fec/polar_decoder_common.h
16 +++ b/gr-fec/include/gnuradio/fec/polar_decoder_common.h
18 #include <gnuradio/fec/generic_decoder.h>
19 #include <gnuradio/fec/polar_common.h>
21 +#ifndef BOOST_CONSTEXPR_OR_CONST
22 +#define BOOST_CONSTEXPR_OR_CONST const
28 @@ -64,7 +68,7 @@ namespace gr {
29 bool set_frame_size(unsigned int frame_size){return false;};
32 - static const float D_LLR_FACTOR = -2.19722458f;
33 + static BOOST_CONSTEXPR_OR_CONST float D_LLR_FACTOR = -2.19722458f;
34 unsigned int d_frozen_bit_counter;