mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 21:40:49 +08:00
Try to fix GCC warnings again
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
#ifndef __OPENCV_PERF_PRECOMP_HPP__
|
|
||||||
#define __OPENCV_PERF_PRECOMP_HPP__
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# if defined __clang__ || defined __APPLE__
|
# if defined __clang__ || defined __APPLE__
|
||||||
@@ -9,6 +6,9 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __OPENCV_PERF_PRECOMP_HPP__
|
||||||
|
#define __OPENCV_PERF_PRECOMP_HPP__
|
||||||
|
|
||||||
#include <opencv2/ts.hpp>
|
#include <opencv2/ts.hpp>
|
||||||
#include <opencv2/imgproc.hpp>
|
#include <opencv2/imgproc.hpp>
|
||||||
#include <opencv2/highgui.hpp>
|
#include <opencv2/highgui.hpp>
|
||||||
|
@@ -1,6 +1,3 @@
|
|||||||
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
|
||||||
#define __OPENCV_TEST_PRECOMP_HPP__
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
||||||
# if defined __clang__ || defined __APPLE__
|
# if defined __clang__ || defined __APPLE__
|
||||||
@@ -9,6 +6,9 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __OPENCV_TEST_PRECOMP_HPP__
|
||||||
|
#define __OPENCV_TEST_PRECOMP_HPP__
|
||||||
|
|
||||||
#include <opencv2/ts.hpp>
|
#include <opencv2/ts.hpp>
|
||||||
#include <opencv2/ts/ts_perf.hpp>
|
#include <opencv2/ts/ts_perf.hpp>
|
||||||
#include <opencv2/core.hpp>
|
#include <opencv2/core.hpp>
|
||||||
|
Reference in New Issue
Block a user