Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error: '_ReturnAddress' was not declared in this scope

Hi, I am having an issue and any help is greatly appreciated. I am trying to compile OpenCV 4.0.1 using x86_64-8.1.0-posix-sjlj-rt_v6-rev0-mingw-w64 to use in the 12-2018-C++ Version of Eclipse

This is the main error I get during mingw32-make is run:

S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~

And here it is from the beginning of object compilation, until mingw32-make quits from all the errors:

//Do note verbose and extra warnings are turned on so I can debug faster, but it does make more output and is harder to sort through sorry...

[ 34%] Building CXX object modules/world/CMakeFiles/opencv_world.dir/__/core/src/arithm.cpp.obj
cd /d S:\SYSTEMS\CPP\OpenCV-4.0.1\MinGW-64\modules\world && S:\TOOLCHAINS\CPP\MinGW-w64\x86_64-8.1.0-posix-sjlj-rt_v6-rev0\bin\g++.exe  -DCVAPI_EXPORTS -DCV_OCL4DNN=1 -DHAVE_FFMPEG_WRAPPER=1 -DHAVE_IMGCODEC_HDR -DHAVE_IMGCODEC_PFM -DHAVE_IMGCODEC_PXM -DHAVE_IMGCODEC_SUNRASTER -DHAVE_PROTOBUF=1 -DHAVE_WEBP -DOPENCV_MODULE_IS_PART_OF_WORLD=1 -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS @CMakeFiles/opencv_world.dir/includes_CXX.rsp -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wcast-align -Wstrict-aliasing=2 -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -fstack-protector-strong -fPIC -DSTRSAFE_NO_DEPRECATE -O2 -DNDEBUG  -DNDEBUG -D_FORTIFY_SOURCE=2   -std=c++11 -o CMakeFiles\opencv_world.dir\__\core\src\arithm.cpp.obj -c S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp
In file included from S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core.hpp:58,
                 from S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/utility.hpp:56,
                 from S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\precomp.hpp:49,
                 from S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:50:
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/types.hpp: In function 'cv::Scalar cv::operator*(const cv::Matx<_Tp, 4, 4>&, const Scalar&) [with _Tp = double; cv::Scalar = cv::Scalar_<double>]':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/types.hpp:2419:45: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
     return reinterpret_cast<const Scalar&>(c);
                                             ^
In file included from S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\precomp.hpp:55,
                 from S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:50:
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::bitwise_and(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:376:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::bitwise_or(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:384:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::bitwise_xor(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:392:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::bitwise_not(cv::InputArray, cv::OutputArray, cv::InputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:400:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::max(cv::InputArray, cv::InputArray, cv::OutputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:408:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::min(cv::InputArray, cv::InputArray, cv::OutputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:415:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::max(const cv::Mat&, const cv::Mat&, cv::Mat&)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:422:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::min(const cv::Mat&, const cv::Mat&, cv::Mat&)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:430:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::max(const cv::UMat&, const cv::UMat&, cv::UMat&)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:438:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::min(const cv::UMat&, const cv::UMat&, cv::UMat&)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:446:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::add(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:928:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::subtract(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:936:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::absdiff(cv::InputArray, cv::InputArray, cv::OutputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:943:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::copyTo(cv::InputArray, cv::OutputArray, cv::InputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:950:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::multiply(cv::InputArray, cv::InputArray, cv::OutputArray, double, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1003:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::divide(cv::InputArray, cv::InputArray, cv::OutputArray, double, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1012:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::divide(double, cv::InputArray, cv::OutputArray, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1020:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::addWeighted(cv::InputArray, double, cv::InputArray, double, double, cv::OutputArray, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1049:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::compare(cv::InputArray, cv::InputArray, cv::OutputArray, int)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1189:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp: In function 'void cv::inRange(cv::InputArray, cv::InputArray, cv::InputArray, cv::OutputArray)':
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:699:42: error: '_ReturnAddress' was not declared in this scope
 #define CV_INSTRUMENT_GET_RETURN_ADDRESS _ReturnAddress()
                                          ^~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:705:152: note: in expansion of macro 'CV_INSTRUMENT_GET_RETURN_ADDRESS'
 #define CV_INSTRUMENT_REGION_META(NAME, ALWAYS_EXPAND, TYPE, IMPL)        ::cv::instr::IntrumentationRegion __instr_region__(NAME, __FILE__, __LINE__, CV_INSTRUMENT_GET_RETURN_ADDRESS, ALWAYS_EXPAND, TYPE, IMPL);
                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:751:46: note: in expansion of macro 'CV_INSTRUMENT_REGION_META'
 #define CV_INSTRUMENT_REGION_();             CV_INSTRUMENT_REGION_META(__FUNCTION__, false, ::cv::instr::TYPE_GENERAL, ::cv::instr::IMPL_PLAIN)
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
S:/SYSTEMS/CPP/OpenCV-4.0.1/sources/modules/core/include/opencv2/core/private.hpp:794:33: note: in expansion of macro 'CV_INSTRUMENT_REGION_'
 #define CV_INSTRUMENT_REGION(); CV_INSTRUMENT_REGION_();
                                 ^~~~~~~~~~~~~~~~~~~~~
S:\SYSTEMS\CPP\OpenCV-4.0.1\sources\modules\core\src\arithm.cpp:1724:5: note: in expansion of macro 'CV_INSTRUMENT_REGION'
     CV_INSTRUMENT_REGION();
     ^~~~~~~~~~~~~~~~~~~~
mingw32-make[2]: *** [modules\world\CMakeFiles\opencv_world.dir\build.make:239: modules/world/CMakeFiles/opencv_world.dir/__/core/src/arithm.cpp.obj] Error 1
mingw32-make[2]: Leaving directory 'S:/SYSTEMS/CPP/OpenCV-4.0.1/MinGW-64'
mingw32-make[1]: *** [CMakeFiles\Makefile2:2486: modules/world/CMakeFiles/opencv_world.dir/all] Error 2
mingw32-make[1]: Leaving directory 'S:/SYSTEMS/CPP/OpenCV-4.0.1/MinGW-64'
mingw32-make: *** [Makefile:165: all] Error 2

S:\SYSTEMS\CPP\OpenCV-4.0.1\MinGW-64>