bitglue / gr-radioteletype

GNU Radio blocks for RTTY and PSK31
26 stars 6 forks source link

Build broken in baudot_encode_bb_impl.h:65:5 #5

Open dslotter opened 4 years ago

dslotter commented 4 years ago

When running cmake followed by make on Raspberry Pi OS (based on Debian Buster 2020-05-27) the build makes it 40% of the way through and then stumbles on a conversion from int to char. See build output below:

[ 40%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/varicode_decode_bb_impl.cc.o In file included from /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.cc:26: /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] }; ^ /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:65:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] }; ^ /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] /home/pi/hamradio/gr-radioteletype/lib/baudot_encode_bb_impl.h:100:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] make[2]: *** [lib/CMakeFiles/gnuradio-radioteletype.dir/build.make:92: lib/CMakeFiles/gnuradio-radioteletype.dir/baudot_encode_bb_impl.cc.o] Error 1

dslotter commented 4 years ago

The solution is simple. Add a "signed" keyword to the char definitions on line 65 and 100 in baudot_encode_bb_impl.h

yann44 commented 3 years ago

Hi, Same problem for me. Could you explain how to do it? Thanks a lot

dslotter commented 3 years ago

@yann44 I explained the solution in the comment just before yours. Please read it again.