mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Remove useless -Wno-long-long option
According to GCC doc, -Wlong-long: Warn if long long type is used. This is enabled by either -Wpedantic or -Wtraditional in ISO C90 and C++98 modes. To inhibit the warning messages, use -Wno-long-long. OpenCV 4.x requires C++11. As result, this option is useless. Ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
This commit is contained in:
parent
0ca98d437b
commit
59b9681af6
@ -191,11 +191,6 @@ if(CV_GCC OR CV_CLANG OR CV_ICX)
|
||||
endif()
|
||||
add_extra_compiler_option(-fdiagnostics-show-option)
|
||||
|
||||
# The -Wno-long-long is required in 64bit systems when including system headers.
|
||||
if(X86_64)
|
||||
add_extra_compiler_option(-Wno-long-long)
|
||||
endif()
|
||||
|
||||
# We need pthread's, unless we have explicitly disabled multi-thread execution.
|
||||
if(NOT OPENCV_DISABLE_THREAD_SUPPORT
|
||||
AND (
|
||||
|
Loading…
Reference in New Issue
Block a user