Thunar fails to build with debug

Mike Massonnet mmassonnet at gmail.com
Sat Jan 17 23:29:36 CET 2009


Hi,

I was building thunar and hit a warning.  Frankly I don't understand
it, it's why I'm fowarding it here (and not as a bug as I don't
experiment it on my other box except the glib versions).

cc1: warnings being treated as errors
thunar-vfs-io-local.c: In function '_thunar_vfs_io_local_listdir':
thunar-vfs-io-local.c:647: error: dereferencing type-punned pointer will break strict-aliasing rules
thunar-vfs-io-local.c:686: error: dereferencing type-punned pointer will break strict-aliasing rules

It fails with the G_LOCK_* macros.

This warning happens with glib-2.18.3.

Cheers
Mike



More information about the Xfce4-dev mailing list