From 7ee1394f2f74ef6aa924040bff5d95cb071e89d5 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 14 Jul 2019 14:48:05 +0200 Subject: [PATCH] Fix building with gcc 4.9 --- .../signal_source/gnuradio_blocks/unpack_2bit_samples.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/algorithms/signal_source/gnuradio_blocks/unpack_2bit_samples.cc b/src/algorithms/signal_source/gnuradio_blocks/unpack_2bit_samples.cc index 2d6e42a67..db56ff0b2 100644 --- a/src/algorithms/signal_source/gnuradio_blocks/unpack_2bit_samples.cc +++ b/src/algorithms/signal_source/gnuradio_blocks/unpack_2bit_samples.cc @@ -31,7 +31,6 @@ #include "unpack_2bit_samples.h" #include -#include struct byte_2bit_struct { @@ -54,7 +53,7 @@ bool systemIsBigEndian() union { uint32_t i; - std::array c{}; + char c[4]; } test_int = {0x01020304}; return test_int.c[0] == 1;