[PATCH 1/2 xorg-gtest] Add comment to Makefile-xorg-gtest.am about compiling with -w

Chase Douglas chase.douglas at canonical.com
Mon May 21 11:02:47 PDT 2012


On 05/18/2012 01:23 PM, Chase Douglas wrote:
> Users of xorg-gtest will not want warnings or failed builds due to
> issues in gtest or xorg-gtest.
> 
> Note that the internal build of the xorg-gtest example does not use the
> -w flag when building examples, so we will still see warnings when
> xorg-gtest itself is built.
> 
> Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
> ---
>  src/Makefile-xorg-gtest.am |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/Makefile-xorg-gtest.am b/src/Makefile-xorg-gtest.am
> index 185381d..20983eb 100644
> --- a/src/Makefile-xorg-gtest.am
> +++ b/src/Makefile-xorg-gtest.am
> @@ -26,6 +26,9 @@ XORG_GTEST_BUILD_LIBS = \
>  	libxorg-gtest.a \
>  	libxorg-gtest_main.a
>  
> +# Here and below we compile without warnings (-w) because the projects using
> +# xorg-gtest will not want to see warnings or fail to build due to warnings in
> +# gtest or xorg-gtest.
>  nodist_libgtest_a_SOURCES = $(GTEST_SOURCE)/src/gtest-all.cc
>  libgtest_a_CPPFLAGS = $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) -w
>  libgtest_a_CXXFLAGS = $(GTEST_CXXFLAGS) $(AM_CXXFLAGS)

Both patches have no been merged:

ae1e069..e1c010f

-- Chase


More information about the xorg-devel mailing list