GNU bug report logs -
#29171
nsterm.m - unnecessary definition
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29171 in the body.
You can then email your comments to 29171 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29171
; Package
emacs
.
(Mon, 06 Nov 2017 16:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Riccardo Mottola <riccardo.mottola <at> libero.it>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 06 Nov 2017 16:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
for GNUstep, the definition:
NSString *NSMenuDidBeginTrackingNotification;
at line 72 of nsterm.m is not needed, actually it results in:
nsterm.m:72:18: error: conflicting type qualifiers for
'NSMenuDidBeginTrackingNotification'
extern NSString *NSMenuDidBeginTrackingNotification;
^
In file included from /System/Library/Headers/AppKit/AppKit.h:90:0,
from nsgui.h:34,
from dispextern.h:76,
from nsterm.h:21,
from nsterm.m:48:
/System/Library/Headers/AppKit/NSMenu.h:823:31: note: previous
declaration of 'NSMenuDidBeginTrackingNotification' was here
APPKIT_EXPORT NSString* const NSMenuDidBeginTrackingNotification;
^
Makefile:381: recipe for target 'nsterm.o' failed
Thus either leave it only for MacOS (e.g. #ifndef GNUSTEP) or remove it
totally if it is not needed on mac.
Thanks - Riccardo
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#29171
; Package
emacs
.
(Mon, 06 Nov 2017 20:09:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 29171 <at> debbugs.gnu.org (full text, mbox):
On Mon, Nov 06, 2017 at 04:13:32PM +0100, Riccardo Mottola wrote:
> for GNUstep, the definition:
>
> NSString *NSMenuDidBeginTrackingNotification;
>
> at line 72 of nsterm.m is not needed, actually it results in:
We’re not defining that anywhere in our code, and certainly not on
line 72 of nsterm.m which looks like:
#ifdef NS_IMPL_COCOA
> nsterm.m:72:18: error: conflicting type qualifiers for
> 'NSMenuDidBeginTrackingNotification'
> extern NSString *NSMenuDidBeginTrackingNotification;
> ^
> In file included from /System/Library/Headers/AppKit/AppKit.h:90:0,
> from nsgui.h:34,
> from dispextern.h:76,
> from nsterm.h:21,
> from nsterm.m:48:
> /System/Library/Headers/AppKit/NSMenu.h:823:31: note: previous declaration
> of 'NSMenuDidBeginTrackingNotification' was here APPKIT_EXPORT NSString*
> const NSMenuDidBeginTrackingNotification;
> ^
> Makefile:381: recipe for target 'nsterm.o' failed
It looks to me like two different GNUstep headers are defining it.
I can’t reproduce this error myself. What platform are you building on?
--
Alan Third
Reply sent
to
Alan Third <alan <at> idiocy.org>
:
You have taken responsibility.
(Mon, 06 Nov 2017 20:16:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Riccardo Mottola <riccardo.mottola <at> libero.it>
:
bug acknowledged by developer.
(Mon, 06 Nov 2017 20:16:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 29171-done <at> debbugs.gnu.org (full text, mbox):
On Mon, Nov 06, 2017 at 08:08:25PM +0000, Alan Third wrote:
> On Mon, Nov 06, 2017 at 04:13:32PM +0100, Riccardo Mottola wrote:
> > for GNUstep, the definition:
> >
> > NSString *NSMenuDidBeginTrackingNotification;
> >
> > at line 72 of nsterm.m is not needed, actually it results in:
>
> We’re not defining that anywhere in our code, and certainly not on
> line 72 of nsterm.m which looks like:
Sorry, spoke too soon. The definition is in Emacs 25, but it’s already
been removed in Emacs 26.
Please try the Emacs 26 pre‐release.
--
Alan Third
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 05 Dec 2017 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.