GNU bug report logs - #8403
24.0.50; revno: 103764, nsterm.m does not compile

Previous Next

Packages: emacs, ns;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Fri, 1 Apr 2011 13:40:02 UTC

Severity: normal

Merged with 8412

Found in version 24.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8403 in the body.
You can then email your comments to 8403 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8403; Package emacs. (Fri, 01 Apr 2011 13:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 01 Apr 2011 13:40:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; revno: 103764, nsterm.m does not compile
Date: Fri, 1 Apr 2011 15:38:27 +0200
Hello!

Gcc-4.2 reports:

	nsterm.m: In function ‘ns_update_auto_hide_menu_bar’:
	nsterm.m:600: error: ‘NSApplicationPresentationOptions’ undeclared  
(first use in this function)
	nsterm.m:600: error: (Each undeclared identifier is reported only once
	nsterm.m:600: error: for each function it appears in.)
	nsterm.m:600: error: expected ‘;’ before ‘options’
	nsterm.m:604: error: ‘options’ undeclared (first use in this function)
	nsterm.m:604: error: ‘NSApplicationPresentationAutoHideMenuBar’  
undeclared (first use in this function)
	nsterm.m:606: warning: no ‘-setPresentationOptions:’ method found
	nsterm.m:606: warning: (Messages without a matching method signature
	nsterm.m:606: warning: will be assumed to return ‘id’ and accept
	nsterm.m:606: warning: ‘...’ as arguments.)
	nsterm.m: In function ‘-[EmacsView conversationIdentifier]’:
	nsterm.m:4869: warning: conflicting types for ‘-(long  
int)conversationIdentifier’
	/System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h: 
23: warning: previous declaration of ‘- 
(NSInteger)conversationIdentifier’

In the "AppKit" Emacs 23.3 src/macappkit.h has:

	#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
	enum {
	  NSApplicationPresentationDefault			= 0,
	  NSApplicationPresentationAutoHideDock			= 1 << 0,
	  NSApplicationPresentationHideDock			= 1 << 1,
	  NSApplicationPresentationAutoHideMenuBar		= 1 << 2,
	  NSApplicationPresentationHideMenuBar			= 1 << 3,
	  NSApplicationPresentationDisableAppleMenu		= 1 << 4,
	  NSApplicationPresentationDisableProcessSwitching	= 1 << 5,
	  NSApplicationPresentationDisableForceQuit		= 1 << 6,
	  NSApplicationPresentationDisableSessionTermination	= 1 << 7,
	  NSApplicationPresentationDisableHideApplication	= 1 << 8
	};
	typedef NSUInteger NSApplicationPresentationOptions;
	
	@interface NSApplication (AvailableOn1060AndLater)
	- (void)setPresentationOptions: 
(NSApplicationPresentationOptions)newOptions;
	- (void)registerUserInterfaceItemSearchHandler: 
(id<NSUserInterfaceItemSearching>)handler;
	- (BOOL)searchString:(NSString *)searchString  
inUserInterfaceItemString:(NSString *)stringToSearch
		 searchRange:(NSRange)searchRange foundRange:(NSRange *)foundRange;
	@end
	#endif


Mac OS X 10.5.8, PPC.

--
Greetings

  Pete

This is a signature virus.  Add me to your signature and help me to  
live!





Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sat, 02 Apr 2011 07:17:01 GMT) Full text and rfc822 format available.

Notification sent to Peter Dyballa <Peter_Dyballa <at> Freenet.DE>:
bug acknowledged by developer. (Sat, 02 Apr 2011 07:17:02 GMT) Full text and rfc822 format available.

Message #10 received at 8403-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 8403-done <at> debbugs.gnu.org
Subject: Re: bug#8403: 24.0.50; revno: 103764, nsterm.m does not compile
Date: Sat, 02 Apr 2011 09:15:54 +0200
Fix checked in.

	Jan D.


Peter Dyballa skrev 2011-04-01 15.38:
> Hello!
>
> Gcc-4.2 reports:
>
> nsterm.m: In function ‘ns_update_auto_hide_menu_bar’:
> nsterm.m:600: error: ‘NSApplicationPresentationOptions’ undeclared (first use
> in this function)
> nsterm.m:600: error: (Each undeclared identifier is reported only once
> nsterm.m:600: error: for each function it appears in.)
> nsterm.m:600: error: expected ‘;’ before ‘options’
> nsterm.m:604: error: ‘options’ undeclared (first use in this function)
> nsterm.m:604: error: ‘NSApplicationPresentationAutoHideMenuBar’ undeclared
> (first use in this function)
> nsterm.m:606: warning: no ‘-setPresentationOptions:’ method found
> nsterm.m:606: warning: (Messages without a matching method signature
> nsterm.m:606: warning: will be assumed to return ‘id’ and accept
> nsterm.m:606: warning: ‘...’ as arguments.)
> nsterm.m: In function ‘-[EmacsView conversationIdentifier]’:
> nsterm.m:4869: warning: conflicting types for ‘-(long int)conversationIdentifier’
> /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:23:
> warning: previous declaration of ‘-(NSInteger)conversationIdentifier’
>
> In the "AppKit" Emacs 23.3 src/macappkit.h has:
>
> #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
> enum {
> NSApplicationPresentationDefault = 0,
> NSApplicationPresentationAutoHideDock = 1 << 0,
> NSApplicationPresentationHideDock = 1 << 1,
> NSApplicationPresentationAutoHideMenuBar = 1 << 2,
> NSApplicationPresentationHideMenuBar = 1 << 3,
> NSApplicationPresentationDisableAppleMenu = 1 << 4,
> NSApplicationPresentationDisableProcessSwitching = 1 << 5,
> NSApplicationPresentationDisableForceQuit = 1 << 6,
> NSApplicationPresentationDisableSessionTermination = 1 << 7,
> NSApplicationPresentationDisableHideApplication = 1 << 8
> };
> typedef NSUInteger NSApplicationPresentationOptions;
>
> @interface NSApplication (AvailableOn1060AndLater)
> - (void)setPresentationOptions:(NSApplicationPresentationOptions)newOptions;
> -
> (void)registerUserInterfaceItemSearchHandler:(id<NSUserInterfaceItemSearching>)handler;
>
> - (BOOL)searchString:(NSString *)searchString
> inUserInterfaceItemString:(NSString *)stringToSearch
> searchRange:(NSRange)searchRange foundRange:(NSRange *)foundRange;
> @end
> #endif
>
>
> Mac OS X 10.5.8, PPC.
>
> --
> Greetings
>
> Pete
>
> This is a signature virus. Add me to your signature and help me to live!
>
>
>




Forcibly Merged 8403 8412. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 Apr 2011 17:55:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 May 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.