Commit 99340b56 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #941 from apavlenko:signed_char

parents 5b5815d8 081c47e3
...@@ -47,6 +47,9 @@ macro(add_extra_compiler_option option) ...@@ -47,6 +47,9 @@ macro(add_extra_compiler_option option)
endif() endif()
endmacro() endmacro()
# OpenCV fails some tests 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment