[Xfce4-commits] CVS: xfce4/xfdesktop/src xfce-desktop.c, 1.24, 220.127.116.11
Brian J. Tarricone
bjt23 at cornell.edu
Wed Feb 23 20:19:32 CET 2005
Benedikt Meurer wrote:
>Update of /var/cvs/xfce/xfce4/xfdesktop/src
>In directory espresso.foo-projects.org:/tmp/cvs-serv10094/src
> Tag: xfce_4_2
>Remove all occurences of G_INLINE_FUNC, as it causes too much trouble on
>Solaris, which offers quite a lot of different compiler/linker combos.
Do you know how it behaves if you just change it to 'static inline'? I
recently learned that G_INLINE_FUNC actually does some weird stuff
depending on how you compile the app. In fact, before your commit,
xfdesktop probably failed to compile at all with --enable-debug and glib
2.6.1 and above, because the glib devs decided to change something.
Though it appears that the inline keyword was only standardised in C99.
*sigh* Though the gcc guide notes that 'static inline' is the portable
subset of using the inline keyword, so it might still be ok.
What's the usual method for checking what version of the C standard a
compiler supports? __STDC__?
I think it's pretty sad that we can't rely on a standard finalised 6
More information about the Xfce4-dev