bug-gnustep
[Top][All Lists]
Advanced

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

NSCoder.h symbol redefinitions


From: Peter Cooper
Subject: NSCoder.h symbol redefinitions
Date: Sat, 6 Mar 2004 17:16:48 +0100
User-agent: Mutt/1.4i

Hi

I've been running a fairly old version of GNUstep (nice and stable
except for occasional problems with gdnc), but have recently begun
to install yesterday's snapshot on a new NetBSD/i386 1.6.1 system.

I get the following warnings, fairly often:

In file included from ../Headers/Foundation/NSPortCoder.h:27,
                 from ../Headers/Additions/GNUstepBase/DistributedObjects.h:45,
  from callframe.h:29,
  from callframe.m:27:
           ../Headers/Foundation/NSCoder.h:85: warning: `uint8_t' redefined
/usr/include/sys/types.h:62: warning: this is the location of the previous 
definition
           ../Headers/Foundation/NSCoder.h:86: warning: `int32_t' redefined
/usr/include/sys/types.h:77: warning: this is the location of the previous 
definition
           ../Headers/Foundation/NSCoder.h:87: warning: `int64_t' redefined
/usr/include/sys/types.h:87: warning: this is the location of the previous 
definition

These types are already defined on NetBSD in /usr/include/sys/types.h,
I think.

I've assembled a simplistic fix, and attached it, which just checks to see
if the types have been defined already. This may break things if GNUstep
has specific expectations about how the types are defined on all platforms.

Regards

Peter

Attachment: NSCoder.h.patch
Description: Text document


reply via email to

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