thunar - problem with struct _ThunarVfsMonitorHandle
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Tue May 2 21:23:02 CEST 2006
Oliver Lehmann wrote:
> Hi,
>
> older gccs like 2.95 doesn't like unnamed unions:
>
> thunar-vfs-monitor.c:117: warning: unnamed struct/union that defines no instances
> thunar-vfs-monitor.c: In function `thunar_vfs_monitor_notifications_timer':
> thunar-vfs-monitor.c:336: structure has no member named `id'
> thunar-vfs-monitor.c: In function `thunar_vfs_monitor_add_directory':
> thunar-vfs-monitor.c:529: structure has no member named `id'
> thunar-vfs-monitor.c: In function `thunar_vfs_monitor_add_file':
> thunar-vfs-monitor.c:593: structure has no member named `id'
> thunar-vfs-monitor.c: In function `thunar_vfs_monitor_feed':
> thunar-vfs-monitor.c:687: structure has no member named `id'
> thunar-vfs-monitor.c:698: structure has no member named `id'
>
> Any chance to get the union in thunar-vfs-monitor.c a name or would that
> be to hard to do (I'm not sure if 2.9 is still supported by xfce 4.4 or not)?
Fixed this one. Compatibility with gcc 2.9x will be dropped over time
however.
Benedikt
More information about the Xfce4-dev
mailing list