Issue compiling with cvstd_wrapper.hpp opencv4.0.1
I was updating earlier c code (opencv1.0) to opencv 4 . While i was changing and updating api's everything looked fine , however, at the end i got the error with the above mentioned file as follows,
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:45:40: Declaration of constexpr static data member 'check' requires an initializer
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:47:31: Constexpr can only be used in variable and function declarations
I am using LLVM 8.1 and uses libc++(LLVM C++ standard library with c++ 11 support) as c++ standard library.