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

Alon Levy alevy at redhat.com
Mon Apr 9 13:10:34 PDT 2012


On Mon, Apr 09, 2012 at 12:45:53PM -0700, Alan Coopersmith wrote:
> 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.

OK, thanks.

> 
> -- 
> 	-Alan Coopersmith-              alan.coopersmith at oracle.com
> 	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list