1
0
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:
vludv
2014-08-12 12:31:25 +04:00
parent 0687cdd19d
commit e622117f78
2 changed files with 6 additions and 6 deletions

View File

@@ -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>

View File

@@ -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>