http://qa.mandrakesoft.com/show_bug.cgi?id=4362

           Product: gnome-vfs2
         Component: gnome-vfs2
           Summary: gcc-3.3 doesn't like "long long" in libgnomevfs/gnome-
                    vfs-file-size.h
           Product: gnome-vfs2
           Version: 2.3.5-1mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gnome-vfs2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm trying to compile abiword-1.99.2 with a gnome-enabled build, but gcc
3.3 complains about the use of "long long" in
libgnomevfs/gnome-vfs-file-size.h.

I had it reported at gnome's bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=118315
Patch is as follows:

--- gnome-vfs-2.3.5/libgnomevfs/gnome-vfs-file-size.h.in.long   2001-07-16
20:21:06.000000000 +0200
+++ gnome-vfs-2.3.5/libgnomevfs/gnome-vfs-file-size.h.in        2003-07-26
13:12:02.000000000 +0200
@@ -26,6 +26,8 @@
 #ifndef GNOME_VFS_FILE_SIZE_H
 #define GNOME_VFS_FILE_SIZE_H

+#include <glib/gtypes.h>
+
 /*
  * This defines GnomeVFSFileSize and GnomeVFSFileOffset
  *
@@ -45,7 +47,7 @@
 #define GNOME_VFS_SIZE_FORMAT_STR "@VFS_SIZE_PRINTF@"
 #define GNOME_VFS_OFFSET_FORMAT_STR "@VFS_OFFSET_PRINTF@"

-typedef @VFS_SIZE@ GnomeVFSFileSize;
-typedef @VFS_OFFSET@ GnomeVFSFileOffset;
+G_GNUC_EXTENSION typedef @VFS_SIZE@ GnomeVFSFileSize;
+G_GNUC_EXTENSION typedef @VFS_OFFSET@ GnomeVFSFileOffset;

 #endif /* GNOME_VFS_FILE_SIZE_H */

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to