mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01: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:
1 parent
1203cf38f0
commit
8bbaf2a05b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user