mirror of https://github.com/gnss-sdr/gnss-sdr
f6892a8bf3
const bits_slice INTEGRITY_STATUS_FLAG = {{23,1}}; used in GPS_L1_CA.h are not allowed in the C++11 standard since they do not correspond to any valid constructor. This is accepted by the current version of gcc (probably due to backward compatibility with C and earlier versions of C++), but it *could* not be accepted in future versions. This can be fixed by putting the struct into a std::vector. I don't know if this is the best way but it seems to work well and does not implies major changes in the code. There is another issue with the Gnss_Synchro class. Since it had a constructor and a destructor, it could not be considered a POD (Plain Old Data) structure and this has some limitations: while gcc and the C99 standard allowed an array's size to be determined at run time, this extension is not permitted in standard C++. This issue has implications when passing Gnss_Synchro through memory between signal processing blocks. In order to fix this, I have removed the Gnss_Synchro.cc implementation and now this is a header-only class where the array size can be determined at compile time git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@204 64b25241-fba3-4117-9849-534c7e92360d |
||
---|---|---|
.. | ||
arithmetic | ||
configuration | ||
control_thread | ||
data | ||
flowgraph | ||
gnss_block | ||
gnuradio_block | ||
integration | ||
signal_samples | ||
string_converter | ||
utils | ||
jamfile.jam | ||
test_main.cc |