24 #include "panda/Version.h" 25 #include "cheetah/version.h" 26 #ifdef ENABLE_SKA_RABBIT 27 #include "rabbit/Version.h" 28 #endif //ENABLE_SKA_RABBIT 30 #define _to_string(_str_) #_str_ 31 #define to_string(_str_) _to_string(_str_) 32 #define compare_version(_dep_) static_assert(CHEETAH_##_dep_ == PANDA_##_dep_, to_string(_dep_ mismatch) " between cheetah and panda ( " to_string(CHEETAH_##_dep_) " vs " to_string( PANDA_##_dep_) " )") 37 const char* version=to_string(CHEETAH_VERSION);
38 const char* full_version=CHEETAH_VERSION
" (" CHEETAH_RCS_VERSION
")";
39 const char* boost_version=to_string(CHEETAH_BOOST_VERSION);
40 const char* cuda_version=to_string(CHEETAH_CUDA_VERSION);
41 const char* panda_version=to_string(PANDA_VERSION);
43 compare_version(BOOST_MAJOR_VERSION);
44 compare_version(BOOST_MINOR_VERSION);
45 static_assert(CHEETAH_BOOST_ASIO_DEBUG == PANDA_BOOST_ASIO_DEBUG,
"BOOST_ASIO_DEBUG mistmatch between panda and cheetah");
47 compare_version(CUDA_MAJOR_VERSION);
48 compare_version(CUDA_MINOR_VERSION);
Some limits and constants for FLDO.