all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29171: nsterm.m - unnecessary definition
@ 2017-11-06 15:13 Riccardo Mottola
  2017-11-06 20:08 ` Alan Third
  0 siblings, 1 reply; 3+ messages in thread
From: Riccardo Mottola @ 2017-11-06 15:13 UTC (permalink / raw)
  To: 29171

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-06 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06 15:13 bug#29171: nsterm.m - unnecessary definition Riccardo Mottola
2017-11-06 20:08 ` Alan Third
2017-11-06 20:15   ` Alan Third

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.