From 6a66af72c8b2fd4ba4d50b955be14924c7a87715 Mon Sep 17 00:00:00 2001 From: mshabunin Date: Mon, 17 Oct 2016 12:07:27 +0300 Subject: [PATCH] Added warning about possible X11 macro collision --- modules/stitching/include/opencv2/stitching.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/stitching/include/opencv2/stitching.hpp b/modules/stitching/include/opencv2/stitching.hpp index a2e1f82ddc..c78be1d665 100644 --- a/modules/stitching/include/opencv2/stitching.hpp +++ b/modules/stitching/include/opencv2/stitching.hpp @@ -53,6 +53,12 @@ #include "opencv2/stitching/detail/blenders.hpp" #include "opencv2/stitching/detail/camera.hpp" + +#if defined(Status) +# warning Detected X11 'Status' macro definition, it can cause build conflicts. Please, include this header before any X11 headers. +#endif + + /** @defgroup stitching Images stitching