Revert "suppress warning on GCC 7 and later"
This reverts commit a630ad73cb.
This commit is contained in:
@@ -41,10 +41,6 @@ foreach(sample_filename ${cpp_samples})
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override -Wsuggest-override)
|
||||
endif()
|
||||
endif()
|
||||
if(ARM AND CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
# suppress warnings from GCC only on 7.1 and later
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-psabi)
|
||||
endif()
|
||||
set(package "cpp")
|
||||
if(sample_filename MATCHES "tutorial_code")
|
||||
set(package "tutorial")
|
||||
|
||||
Reference in New Issue
Block a user