bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #12296] Bug#299178: gnustep-gui: FTBFS (amd64/gcc-4.0): array type


From: anonymous
Subject: [bugs #12296] Bug#299178: gnustep-gui: FTBFS (amd64/gcc-4.0): array type has incomplete element type
Date: Sat, 12 Mar 2005 23:03:05 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.5) Gecko/20050210 Firefox/1.0 (Debian package 1.0+dfsg.1-6)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12296>

                 Summary: Bug#299178: gnustep-gui: FTBFS (amd64/gcc-4.0):
array type has incomplete element type
                 Project: GNUstep
            Submitted by: None
            Submitted on: Sat 03/12/2005 at 18:03
                Category: Gui/AppKit
                Severity: 5 - Average
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

Bug forwarded from the Debian Bug Tracking System.



Package: gnustep-gui

Severity: normal

Tags: patch



When building 'gnustep-gui' on amd64 with gcc-4.0,

I get the following error:



gcc Functions.m -c \

      -MMD -MP -DGNUSTEP_INSTALL_PREFIX=/usr/lib/GNUstep/System
-DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"x86_64\"
-DGNUSTEP_TARGET_OS=\"linux-gnu\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\"
-DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -DGSWARN
-DGSDIAGNOSE -O2 -fno-strict-aliasing -fgnu-runtime -Wall
-fconstant-string-class=NSConstantString -I../Headers/Additions -I../Headers
-I./. -I. -I/root/GNUstep/Library/Headers
-I/usr/local/lib/GNUstep/Local/Library/Headers
-I/usr/local/lib/GNUstep/Network/Library/Headers
-I/usr/lib/GNUstep/System/Library/Headers \

       -o shared_obj/Functions.o

In file included from Functions.m:36:

../Headers/AppKit/NSGraphics.h:235: error: array type has incomplete element
type

Functions.m:827: error: array type has incomplete element type

make[3]: *** [shared_obj/Functions.o] Error 1



With the attached patch 'gnustep-gui' can be compiled

on amd64 using gcc-4.0.



Regards

Andreas Jochens



diff -urN ../tmp-orig/gnustep-gui-0.9.4/Headers/AppKit/NSGraphics.h
./Headers/AppKit/NSGraphics.h

--- ../tmp-orig/gnustep-gui-0.9.4/Headers/AppKit/NSGraphics.h   2003-09-20
04:57:45.000000000 +0200

+++ ./Headers/AppKit/NSGraphics.h       2005-03-12 10:42:41.387659015 +0100

@@ -232,7 +232,7 @@

 

 // Context information

 APPKIT_EXPORT void NSCountWindowsForContext(int context, int *count);

-APPKIT_EXPORT void NSWindowListForContext(int context, int size, int
list[][]);

+APPKIT_EXPORT void NSWindowListForContext(int context, int size, int
**list);

 APPKIT_EXPORT int NSGetWindowServerMemory(int context, int *virtualMemory, 

                                           int *windowBackingMemory, 

                                           NSString **windowDumpStream);

diff -urN ../tmp-orig/gnustep-gui-0.9.4/Source/Functions.m
./Source/Functions.m

--- ../tmp-orig/gnustep-gui-0.9.4/Source/Functions.m    2004-02-08
14:07:24.000000000 +0100

+++ ./Source/Functions.m        2005-03-12 10:43:45.414796253 +0100

@@ -824,7 +824,7 @@

 }

 

 void 

-NSWindowListForContext(int context, int size, int list[][])

+NSWindowListForContext(int context, int size, int **list)

 {

 // TODO

 }








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12296>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]