Thunar fails to build with debug
David Gustafsson
david.s.gustafsson at gmail.com
Sun Jan 18 20:13:04 CET 2009
On Sun, Jan 18, 2009 at 12:31 AM, Mike Massonnet <mmassonnet at gmail.com> wrote:
> Le Sat, 17 Jan 2009 23:29:36 +0100,
> Mike Massonnet <mmassonnet at gmail.com> a écrit :
>
>> 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).
> are different
>>
>> 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
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
Hi,
This also happens in libexo when compiling with debug. The problem is
a known bug in glib[1].
exo-mount-point.c: In function 'IA__exo_mount_point_list_matched':
exo-mount-point.c:561: error: dereferencing type-punned pointer will
break strict-aliasing rules
exo-mount-point.c:575: error: dereferencing type-punned pointer will
break strict-aliasing rules
[1] http://bugzilla.gnome.org/show_bug.cgi?id=316221
/David
More information about the Xfce4-dev
mailing list