mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
Fix OS X build warnings
This commit is contained in:
parent
6484732509
commit
a126532cb7
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# ifdef __clang__
|
# if defined __clang__ || defined __APPLE__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||||
# pragma GCC diagnostic ignored "-Wextra"
|
# pragma GCC diagnostic ignored "-Wextra"
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user