Hi - I presume since I'm receiving a number of these types of errors
while compiling
/opt/gnuradio/src/gr-oot/gr-osmosdr/lib/rtl_tcp/rtl_tcp_source_c.cc:307:7: warning:
extended initializer lists only available with -std=c++11 or -std=gnu++11
cmd = { 0x0a, htonl(offset_tune) };
i.e., complaining about -std=gnu++11, that I should probably be
compiling gr-osmosdr with the -std=gnu++11 flag.
Typically, I fall asleep at the wheel during the build - so I don't know
which version these warning started. If it wasn't for my dog's wet nose
pressing against my elbow, I'd still be sleeping.
I'm using the following git pulls for
rtl-sdr:
commit 18bf26989c926a5db4fca29e7d859af42af1437c
Author: hayati ayguen <h_ayguen(a)web.de>
Date: Sun Jun 11 00:18:53 2017 +0200
gr-osmosdr:
commit c653754dde5e2cf682965e939cc016fbddbd45e4
Merge: b7aab45 cf95494
Author: Dimitri Stolnikov <horiz0n(a)gmx.net>
Date: Mon Jun 12 00:04:36 2017 +0200
and I have somewhat recent git pulls for libosmocore and libosmo-dsp.
Should I be compiling the programs rtl-sdr and gr-osmosdr with
-std=gnu++11?
How about libosmocore and libosmo-dsp?
-- Cinaed
Show replies by date