[Glamor] [PATCH] Remove a compilation warning when converting a texture number to EGLClientBuffer
Gaetan Nadon
memsize at videotron.ca
Sun Dec 8 07:01:42 PST 2013
On 13-12-08 07:02 AM, Axel Davy wrote:
> +AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS) $(DIX_CFLAGS) $(LIBDRM_CFLAGS) -Wno-int-to-pointer-cast
That would only work for the GNU compiler.
You would need in configure.ac:
XORG_TEST_SET_CFLAG([CWARNFLAGS], [-Wno-int-to-pointer-cast])
This takes care of compiler brand and platform for you so it does not
break where the flag is not honoured.
I checked the other 250 modules in X Window System and none have
suppressed this warning.
More information about the Glamor
mailing list