Am 05.07.2018 um 09:49 schrieb Benedikt Schemmer:
> The MSVC preprocessor doesnt understand #warning
> 
> ---
>  src/util/process.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/util/process.c b/src/util/process.c
> index 449c7fa77c2..6e6376986f3 100644
> --- a/src/util/process.c
> +++ b/src/util/process.c
> @@ -107,7 +107,7 @@ __getProgramName()
>  #        define GET_PROGRAM_NAME() __getProgramName()
>  #    else
>  #        define GET_PROGRAM_NAME() ""
> -#        warning "Per application configuration won't work with your OS 
> version."
> +#        pragma message ( "Warning: Per application configuration won't work 
> with your OS version." )
>  #    endif
>  #endif
> 

Reviewed-by: Roland Scheidegger <srol...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to