Merge pull request #941 from apavlenko:signed_char

This commit is contained in:
Roman Donchenko 2013-06-05 11:27:08 +04:00 committed by OpenCV Buildbot
commit 99340b5613

View File

@ -47,6 +47,9 @@ macro(add_extra_compiler_option option)
endif()
endmacro()
# OpenCV fails some tests 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