1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

cuda: eliminate part of build warnings

This commit is contained in:
Alexander Alekhin
2018-04-05 13:44:44 +03:00
parent f93c1b942a
commit 7818071ba2
18 changed files with 103 additions and 83 deletions
@@ -47,6 +47,13 @@
# error cuda_types.hpp header must be compiled as C++
#endif
#if defined(__OPENCV_BUILD) && defined(__clang__)
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
#endif
#if defined(__OPENCV_BUILD) && defined(__GNUC__) && __GNUC__ >= 5
#pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
/** @file
* @deprecated Use @ref cudev instead.
*/