diff -Naur OpenCV-2.0.0.orig/include/opencv/cv.h OpenCV-2.0.0/include/opencv/cv.h --- OpenCV-2.0.0.orig/include/opencv/cv.h 2009-10-01 02:20:57.000000000 +0200 +++ OpenCV-2.0.0/include/opencv/cv.h 2009-12-14 03:47:40.000000000 +0100 @@ -47,6 +47,8 @@ #define HAVE_IPL #endif +#pragma GCC system_header + #ifndef SKIP_INCLUDES #if defined(_CH_) #pragma package diff -Naur OpenCV-2.0.0.orig/include/opencv/cvcompat.h OpenCV-2.0.0/include/opencv/cvcompat.h --- OpenCV-2.0.0.orig/include/opencv/cvcompat.h 2009-10-01 02:20:57.000000000 +0200 +++ OpenCV-2.0.0/include/opencv/cvcompat.h 2009-12-14 03:47:26.000000000 +0100 @@ -50,6 +50,8 @@ #ifndef _CVCOMPAT_H_ #define _CVCOMPAT_H_ +#pragma GCC system_header + #include #ifdef __cplusplus diff -Naur OpenCV-2.0.0.orig/include/opencv/cxcore.h OpenCV-2.0.0/include/opencv/cxcore.h --- OpenCV-2.0.0.orig/include/opencv/cxcore.h 2009-10-01 02:20:57.000000000 +0200 +++ OpenCV-2.0.0/include/opencv/cxcore.h 2009-12-14 03:45:56.000000000 +0100 @@ -48,6 +48,8 @@ #define HAVE_IPL #endif +#pragma GCC system_header + #ifndef SKIP_INCLUDES #if defined HAVE_IPL && !defined __IPL_H__ #ifndef _INC_WINDOWS