[Beignet] [PATCH 2/2] utest: suspend deprecated-declarations warning.
Song, Ruiling
ruiling.song at intel.com
Thu Dec 29 06:06:41 UTC 2016
The patchset LGTM
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Yang Rong
> Sent: Wednesday, December 7, 2016 5:16 PM
> To: beignet at lists.freedesktop.org
> Cc: Yang, Rong R <rong.r.yang at intel.com>
> Subject: [Beignet] [PATCH 2/2] utest: suspend deprecated-declarations warning.
>
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
> utests/CMakeLists.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
> index 0ca7f77..8b522de 100644
> --- a/utests/CMakeLists.txt
> +++ b/utests/CMakeLists.txt
> @@ -373,6 +373,8 @@ endif ()
> if (COMPILER STREQUAL "CLANG")
> SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
> endif ()
> +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-
> declarations")
> +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations" )
>
> ADD_LIBRARY(utests SHARED ${utests_sources})
>
> --
> 2.1.4
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list