bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#647: 23.0.60; NSInteger changes in nsterm.h break the GNUstep build


From: Yavor Doganov
Subject: bug#647: 23.0.60; NSInteger changes in nsterm.h break the GNUstep build
Date: Mon, 04 Aug 2008 17:24:28 +0300
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

This change

2008-08-01  Adrian Robert  <Adrian.B.Robert@gmail.com>

        * nsterm.h (NSInteger, NSUInteger): Add defines for non-Leopard.


breaks the GNUstep build with GNUstep Base 1.16.1 on GNU/Linux:

In file included from nsterm.m:37:
nsterm.h:368: error: conflicting types for ‘NSInteger’
/usr/include/GNUstep/Foundation/NSObjCRuntime.h:40: error: previous declaration 
of ‘NSInteger’ was here
nsterm.h:369: error: conflicting types for ‘NSUInteger’
/usr/include/GNUstep/Foundation/NSObjCRuntime.h:41: error: previous declaration 
of ‘NSUInteger’ was here

,---- <Foundation/NSObjCRuntime.h> ----
| typedef gsaddr  NSInteger;
| typedef gsuaddr NSUInteger;
`--------------------------------------

Also,

2008-08-01  Chong Yidong  <cyd@stupidchicken.com>

        * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not
        define NSApplicationDelegateReplySuccess.
        (EmacsView -converstationIdentifier): Use long instead of
        NSInteger for GNUStep, since it doesn't have NSInteger.
                                        ^^^^^^^^^^^^^^^^^^^^^^

is not true as of Base 1.15.3 (unstable) and 1.16.0 (stable, released
on 15th Jun 2008):

2008-02-25  Richard Frith-Macdonald <rfm@gnu.org>

        * Headers/Foundation/NSObjCRuntime.h: Added NSInteger and NSUInteger
        for MacOSX compatibiulity.






reply via email to

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