--- pal/shared/gpuopen/cmake/AMD.cmake 2019-10-18 11:06:42.000000000 +0200 +++ - 2019-10-29 19:06:00.059615384 +0100 @@ -89,6 +89,7 @@ -fno-exceptions # Disable exception handling support. -fno-rtti # Disable run-time type information support. -fno-math-errno # Single instruction math operations do not set ERRNO. + -Wno-error=deprecated-copy ) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") @@ -119,6 +120,7 @@ -Wall # Enable warnings about questionable language constructs. -Wextra # Enable extra warnings that are not enabled by -Wall. -Werror # Turn warnings into errors. + -Wno-error=deprecated-copy ) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")