[PATCH] include/privates.h: fix -Winline warning in dixGetPrivateAddr

Alan Coopersmith alan.coopersmith at oracle.com
Mon Apr 9 12:45:53 PDT 2012


On 04/ 9/12 05:50 AM, Alon Levy wrote:
> I get multiple such warnings when compiling xf86-video-qxl:
> warning: inlining failed in call to 'dixGetPrivateAddr.isra.7.part.8':
> call is unlikely and code size would grow [-Winline]

Then you need to upgrade to an xorg-macros version (1.16.1 or later) that
has removed -Winline as being generally useless.   What one version of one
compiler on one platform views as unprofitable to inline does not apply to
all versions of all compilers on all platforms.

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


More information about the xorg-devel mailing list