提交 6f006e50 编写于 作者: A Andrey Pavlenko

setting 'char' to be signed by default since some tests fail when it's wrong...

setting 'char' to be signed by default since some tests fail when it's wrong (e.g. native compilation on ARM Linux)
上级 37091b08
......@@ -47,6 +47,9 @@ macro(add_extra_compiler_option option)
endif()
endmacro()
# some OpenCV tests fail when 'char' is 'unsigned' by default
add_extra_compiler_option(-fsigned-char)
if(MINGW)
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
# here we are trying to workaround the problem
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册