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]

Compiling with gcc 4.7.0 . Problem seems unrelated to xf86-video-qxl.
---
 include/privates.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/privates.h b/include/privates.h
index c34b951..98a7d3a 100644
--- a/include/privates.h
+++ b/include/privates.h
@@ -110,7 +110,7 @@ dixPrivateKeyRegistered(DevPrivateKey key)
  * For keys with pre-defined storage, this gets the base of that storage
  * Otherwise, it returns the place where the private pointer is stored.
  */
-static inline void *
+static void *
 dixGetPrivateAddr(PrivatePtr *privates, const DevPrivateKey key)
 {
     assert(key->initialized);
-- 
1.7.9.3

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to