diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-17 17:55:20 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-17 17:55:20 -0800 |
commit | 69aaffa6d8d4614dbf6b751fe058e39fced68153 (patch) | |
tree | 1a3958527b79eeb0297146dccff7fd76b0f46a7f /host/test | |
parent | 83c463d09613b72817a837117c5f0b23975c8def (diff) | |
download | uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.tar.gz uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.tar.bz2 uhd-69aaffa6d8d4614dbf6b751fe058e39fced68153.zip |
got uhd almost compiling in windowze. figured out special flags. also had to use boost stdint because its missing in visual c++, added a bunch of numeric casts to reduce warnings
Diffstat (limited to 'host/test')
-rw-r--r-- | host/test/vrt_test.cpp | 2 | ||||
-rw-r--r-- | host/test/wax_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/host/test/vrt_test.cpp b/host/test/vrt_test.cpp index d80908c74..40116e110 100644 --- a/host/test/vrt_test.cpp +++ b/host/test/vrt_test.cpp @@ -25,7 +25,7 @@ static void pack_and_unpack( size_t num_payload_words32, size_t packet_count ){ - uint32_t header_buff[vrt::max_header_words32]; + boost::uint32_t header_buff[vrt::max_header_words32]; size_t num_header_words32; size_t num_packet_words32; diff --git a/host/test/wax_test.cpp b/host/test/wax_test.cpp index b793b2690..cb3b12052 100644 --- a/host/test/wax_test.cpp +++ b/host/test/wax_test.cpp @@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(test_set_get){ for (size_t i = 0; i < 10; i++){ for (size_t j = 0; j < 10; j++){ for (size_t k = 0; k < 10; k++){ - float val = i * j * k + i + j + k; + float val = float(i * j * k + i + j + k); //std::cout << i << " " << j << " " << k << std::endl; wd[i][j][k] = val; BOOST_CHECK_EQUAL(val, wd[i][j][k].as<float>()); |