[Mesa-dev] [PATCH mesa] meson: hide warnings from external project `gtest`

Dylan Baker dylan at pnwbakers.com
Wed Oct 31 17:15:40 UTC 2018


gtest doesn't generate any warnings, but this seems fine,
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Eric Engestrom (2018-10-31 09:43:03)
> gtest is an external project that is copied in this tree for technical
> reasons, but isn't maintained by us, so its warnings are irrelevant.
> 
> Cc: Emil Velikov <emil.l.velikov at gmail.com>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  src/gtest/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gtest/meson.build b/src/gtest/meson.build
> index 91a49240416951731eb9..23c21423d008d71fc8f9 100644
> --- a/src/gtest/meson.build
> +++ b/src/gtest/meson.build
> @@ -22,6 +22,7 @@ libgtest = static_library(
>    'gtest',
>    files('src/gtest-all.cc', 'src/gtest_main.cc'),
>    include_directories : include_directories('include'),
> +  cpp_args : '-w',
>    build_by_default : false,
>  )
>  
> -- 
> Cheers,
>   Eric
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181031/bd613aeb/attachment.sig>


More information about the mesa-dev mailing list