mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
setting 'char' to be signed by default since some tests fail when it's wrong (e.g. native compilation on ARM Linux)
This commit is contained in:
@@ -47,6 +47,9 @@ macro(add_extra_compiler_option option)
|
|||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
# some OpenCV tests fail when 'char' is 'unsigned' by default
|
||||||
|
add_extra_compiler_option(-fsigned-char)
|
||||||
|
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838
|
||||||
# here we are trying to workaround the problem
|
# here we are trying to workaround the problem
|
||||||
|
|||||||
Reference in New Issue
Block a user