bugGNUstep - Bugs: bug #12296, Bug#299178: gnustep-gui: FTBFS...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12296: Bug#299178: gnustep-gui: FTBFS (amd64/gcc-4.0): array type has incomplete element type

Submitted by:  None
Submitted on:  Sat 12 Mar 2005 11:03:05 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun 13 Mar 2005 05:37:10 PM UTC, comment #1:

Fixed in CVS .. thanks.

Richard Frith-Macdonald <CaS>
Project Member
Sat 12 Mar 2005 11:03:05 PM UTC, original submission:

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
}

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 13 Mar 2005 05:37:10 PM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1