! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thunar-0.8.1svn-r25769 fails to compile
Status:
RESOLVED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Christoph Mende 2007-05-30 15:33:01 CEST
cc1: warnings being treated as errors
thunar-vfs-path.c: In function 'IA__thunar_vfs_path_unref':
thunar-vfs-path.c:522: warning: left shift count >= width of type
thunar-vfs-path.c: In function 'IA__thunar_vfs_path_equal':
thunar-vfs-path.c:592: warning: left shift count >= width of type

this is on Gentoo/AMD64 with GCC 4.2.0 and GCC 4.1.2
Comment 1 Benedikt Meurer editbugs 2007-05-30 23:13:58 CEST
Created attachment 1174 
Possible fix

Ah yes, weird archs... ;-)

Please try this patch.
Comment 2 Christoph Mende 2007-05-30 23:30:05 CEST
meh, /me hugs his amd64
the patch fixed the problem here
Comment 3 Tomasz Mon 2007-06-08 17:49:16 CEST
this patch fixes it here on amd64 and gcc 4.1.2
Comment 4 Benedikt Meurer editbugs 2007-06-24 16:30:32 CEST
*** Bug 3326 has been marked as a duplicate of this bug. ***
Comment 5 Benedikt Meurer editbugs 2007-06-24 16:31:30 CEST
Committed revision 25851.

2007-06-24      Benedikt Meurer <benny@xfce.org>

        * thunar-vfs/thunar-vfs-path.c: Fix crash on amd64 because of
          invalid size of integer constants. Bug #3303.

Bug #3303

Reported by:
Christoph Mende
Reported on: 2007-05-30
Last modified on: 2010-11-07
Duplicates (1):

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Possible fix (732 bytes, patch)
2007-05-30 23:13 CEST , Benedikt Meurer
no flags

Additional information