Revert "suppress warning on GCC 7 and later"

This reverts commit a630ad73cb.
This commit is contained in:
Alexander Alekhin
2022-08-07 15:43:10 +03:00
parent 70492c2127
commit 44b2f9637a
14 changed files with 0 additions and 56 deletions
-4
View File
@@ -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")