gnss-sdr/src/tests
Carles Fernandez f6892a8bf3 It seems that definitions such as
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
2012-07-02 12:45:20 +00:00
..
arithmetic Added fixed point nco test. It is faster than std C++ in debug mode, but in release performs the same. 2012-02-01 18:53:52 +00:00
configuration Code cleaning. 2012-01-23 00:52:05 +00:00
control_thread Cleaning tests 2012-01-25 03:16:08 +00:00
data Code cleaning. 2012-01-23 00:52:05 +00:00
flowgraph Cleaning tests 2012-01-25 03:16:08 +00:00
gnss_block Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests. 2012-06-22 14:17:28 +00:00
gnuradio_block Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests. 2012-06-22 14:17:28 +00:00
integration Code cleaning. 2012-01-23 00:52:05 +00:00
signal_samples Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests. 2012-06-22 14:17:28 +00:00
string_converter Cleaning compilation warnings 2012-01-25 03:25:39 +00:00
utils Code cleaning. 2012-01-23 00:52:05 +00:00
jamfile.jam It seems that definitions such as 2012-07-02 12:45:20 +00:00
test_main.cc Restructuring the src/tests directory. Deleted old tests. Added new test cases. Added signal sample for the tests. 2012-06-22 14:17:28 +00:00