Package: gnustep-dl2
Severity: normal
Tags: patch

When building 'gnustep-dl2' on amd64 with gcc-4.0,
I get the following error:

gcc EOUtilities.m -c \
      -MMD -MP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -g -DGNUSTEP 
-DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT 
-fPIC -DGSWARN -DGSDIAGNOSE -O2 -fno-strict-aliasing -fgnu-runtime 
-fconstant-string-class=NSConstantString -I../EOControl/. -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/EOUtilities.o
EOUtilities.m:77: error: static declaration of 'EOMoreThanOneException' follows 
non-static declaration
../EOAccess/EOUtilities.h:47: error: previous declaration of 
'EOMoreThanOneException' was here

With the attached patch 'gnustep-dl2' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnustep-dl2-0.9.1/EOAccess/EOUtilities.h 
./EOAccess/EOUtilities.h
--- ../tmp-orig/gnustep-dl2-0.9.1/EOAccess/EOUtilities.h        2004-04-17 
13:30:47.000000000 +0200
+++ ./EOAccess/EOUtilities.h    2005-01-31 20:57:29.208457527 +0100
@@ -44,7 +44,6 @@
 @class EOEntity;
 
 
-GDL2ACCESS_EXPORT NSString *EOMoreThanOneException;
 
 
 @interface EOEditingContext (EOUtilities)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to