[Mesa-dev] [PATCH 3/3] gallium: undef PACKAGE_* macros to silence warnings

Jose Fonseca jfonseca at vmware.com
Mon Mar 25 10:51:37 PDT 2013


----- Original Message -----
> ---
>  src/gallium/auxiliary/gallivm/lp_bld_misc.cpp |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> index 6a560df..46cdbad 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> @@ -40,6 +40,14 @@
>  #define __STDC_CONSTANT_MACROS
>  #endif
>  
> +// Undef these vars just to silence warnings
> +#undef PACKAGE_BUGREPORT
> +#undef PACKAGE_NAME
> +#undef PACKAGE_STRING
> +#undef PACKAGE_TARNAME
> +#undef PACKAGE_VERSION
> +
> +
>  #include <stddef.h>
>  
>  #include <llvm-c/Core.h>
> --
> 1.7.3.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 

Series looks good

Reviewed-by: Jose Fonseca <jfonseca at vmware.com>


More information about the mesa-dev mailing list