Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
authorSebastian Dröge <sdroege@src.gnome.org>
Tue, 18 Mar 2008 20:06:04 +0000 (20:06 +0000)
committerSebastian Dröge <sdroege@src.gnome.org>
Tue, 18 Mar 2008 20:06:04 +0000 (20:06 +0000)
commit16484fd175d1e294a28bdf00ff32e354c49bc766
treeedf2d8175bf53be37509afc26ed2cfc0ed75bc48
parent6aeb6d12ac39b0ad87017840a8c15d02c1ed2b24
Bug 522292 - Gives warnings in glib/gutils.h with GCC in C99 mode
* glib/gutils.h: Use "__attribute__ ((__gnu_inline__))" for inlining
if either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__ are defined. In
gcc version prior to 4.3 no correct C99-inline was implemented which
has semantic differences to GNU inline.

svn path=/trunk/; revision=6733
ChangeLog
glib/gutils.h