[PATCH util-macros] XORG_TESTSET_CFLAG: add -fd which is the SUNCC -Wold-style-definition

Alan Coopersmith alan.coopersmith at oracle.com
Mon Dec 2 15:46:31 PST 2013


On 12/ 2/13 03:37 PM, Gaetan Nadon wrote:
> Seen in the XCB configuration and found missing in xorg.
>
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>   xorg-macros.m4.in |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
> index 20a0bd0..0a547c7 100644
> --- a/xorg-macros.m4.in
> +++ b/xorg-macros.m4.in
> @@ -1638,7 +1638,7 @@ AC_LANG_CASE(
>   		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes])
>   		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs])
>   		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast])
> -		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition])
> +		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition], [-fd])
>   		XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement])
>   	]
>   )
>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list