mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-09 23:38:04 +00:00
a/tracking: Use #pragma message instead of #warning
Avoids warning ../src/xrt/auxiliary/tracking/t_tracker_slam.cpp:66:2: warning: #warning is a GCC extension
This commit is contained in:
parent
1203cf38f0
commit
8bbaf2a05b
|
@ -63,7 +63,7 @@ using cv::UMatUsageFlags;
|
|||
#define USING_OPENCV_3_3_1 (CV_VERSION_MAJOR == 3 && CV_VERSION_MINOR == 3 && CV_VERSION_REVISION == 1)
|
||||
|
||||
#if defined(XRT_HAVE_KIMERA_SLAM) && !USING_OPENCV_3_3_1
|
||||
#warning "Kimera-VIO uses OpenCV 3.3.1, use that to prevent conflicts"
|
||||
#pragma message "Kimera-VIO uses OpenCV 3.3.1, use that to prevent conflicts"
|
||||
#endif
|
||||
|
||||
//! @todo These defs should make OpenCV 4 work but it wasn't tested against a
|
||||
|
|
Loading…
Reference in a new issue