From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Date: Mon, 18 Apr 2022 21:36:32 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Mattias =?UTF-8?B?RW5n?= =?UTF-8?B?ZGVnw6VyZA==?= , Paul Eggert , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 19 06:38:05 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngfcq-000AEh-Qs for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 06:38:05 +0200 Original-Received: from localhost ([::1]:33580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngfcp-0004mk-7O for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 00:38:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngfbS-0003mz-Hr for emacs-devel@gnu.org; Tue, 19 Apr 2022 00:36:41 -0400 Original-Received: from gateway23.websitewelcome.com ([192.185.47.80]:14726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngfbP-0001tn-VG for emacs-devel@gnu.org; Tue, 19 Apr 2022 00:36:37 -0400 Original-Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 4F49A134CB for ; Mon, 18 Apr 2022 23:36:34 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id gfbNnP65YRnrrgfbOn6rMB; Mon, 18 Apr 2022 23:36:34 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc :To:From:Message-ID:Date:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ApSerBLIbs9ouqUTGnfT8WYKBy5X2lW/EWyh89Bi65E=; b=MILRLRjxXzx6c8GS3mBQ7ZHhWs +YUlH53q96onqeSj5dXkxUtRzp8isY4znelBDWgHo1/nVijqZo5Bg97ZJ6JpC45ehiqq5UD/+Cbg9 K2vuRgfDdpgsCLuLNKhglLUrXzi6zZGEoTFkf7OQaTjgurAgGw3VzEHU0Z6gZs8n6W77jBarBXNHO o/IdWtQQOl7z9x5Ilyrch2RJZZcYmGaDtBq43G1U4v+OOEOEbsnHKXkkq1LgbgZNAqg4LZOrzfVNC KzNSPMuLr2LZO2OjJom74oNFPYx2hGtabD5frnryFum3w846HXUFmnYz5ZOVBDyODZCTnucntTJLv /DTp15pw==; Original-Received: from cpe-45-48-245-70.socal.res.rr.com ([45.48.245.70]:49315 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ngfbN-001Qs6-EX; Mon, 18 Apr 2022 23:36:33 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.245.70 X-Source-L: No X-Exim-ID: 1ngfbN-001Qs6-EX X-Source-Sender: cpe-45-48-245-70.socal.res.rr.com (server.local) [45.48.245.70]:49315 X-Source-Auth: lawlist X-Email-Count: 2 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes Received-SPF: pass client-ip=192.185.47.80; envelope-from=esq@lawlist.com; helo=gateway23.websitewelcome.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288649 Archived-At: The latest patch from Alan applied without issue, but there is still something that stops the build at nsmenu.m CC nsfns.o In file included from nsfns.m:36: lisp.h:2156: warning: declaration does not declare anything nsfns.m:1099: warning: braces around scalar initializer nsfns.m:1099: warning: (near initialization for 'Sx_create_frame.s.command_modes') nsfns.m:1528: warning: braces around scalar initializer nsfns.m:1528: warning: (near initialization for 'Sns_frame_list_z_order.s.command_modes') nsfns.m:1559: warning: braces around scalar initializer nsfns.m:1559: warning: (near initialization for 'Sns_frame_restack.s.command_modes') nsfns.m:1590: warning: braces around scalar initializer nsfns.m:1590: warning: (near initialization for 'Sns_popup_font_panel.s.command_modes') nsfns.m:1590: warning: initialization from incompatible pointer type nsfns.m:1611: warning: braces around scalar initializer nsfns.m:1611: warning: (near initialization for 'Sns_popup_color_panel.s.command_modes') nsfns.m:1611: warning: initialization from incompatible pointer type nsfns.m:1664: warning: braces around scalar initializer nsfns.m:1664: warning: (near initialization for 'Sns_read_file_name.s.command_modes') nsfns.m:1782: warning: braces around scalar initializer nsfns.m:1782: warning: (near initialization for 'Sns_get_resource.s.command_modes') nsfns.m:1802: warning: braces around scalar initializer nsfns.m:1802: warning: (near initialization for 'Sns_set_resource.s.command_modes') nsfns.m:1829: warning: braces around scalar initializer nsfns.m:1829: warning: (near initialization for 'Sx_server_max_request_size.s.command_modes') nsfns.m:1842: warning: braces around scalar initializer nsfns.m:1842: warning: (near initialization for 'Sx_server_vendor.s.command_modes') nsfns.m:1855: warning: braces around scalar initializer nsfns.m:1855: warning: (near initialization for 'Sx_server_version.s.command_modes') nsfns.m:1870: warning: braces around scalar initializer nsfns.m:1870: warning: (near initialization for 'Sx_display_screens.s.command_modes') nsfns.m:1879: warning: braces around scalar initializer nsfns.m:1879: warning: (near initialization for 'Sx_display_mm_height.s.command_modes') nsfns.m:1889: warning: braces around scalar initializer nsfns.m:1889: warning: (near initialization for 'Sx_display_mm_width.s.command_modes') nsfns.m:1899: warning: braces around scalar initializer nsfns.m:1899: warning: (near initialization for 'Sx_display_backing_store.s.command_modes') nsfns.m:1923: warning: braces around scalar initializer nsfns.m:1923: warning: (near initialization for 'Sx_display_visual_class.s.command_modes') nsfns.m:1950: warning: braces around scalar initializer nsfns.m:1950: warning: (near initialization for 'Sx_display_save_under.s.command_modes') nsfns.m:1974: warning: braces around scalar initializer nsfns.m:1974: warning: (near initialization for 'Sx_open_connection.s.command_modes') nsfns.m:1999: warning: braces around scalar initializer nsfns.m:1999: warning: (near initialization for 'Sx_close_connection.s.command_modes') nsfns.m:2010: warning: braces around scalar initializer nsfns.m:2010: warning: (near initialization for 'Sx_display_list.s.command_modes') nsfns.m:2024: warning: braces around scalar initializer nsfns.m:2024: warning: (near initialization for 'Sns_hide_others.s.command_modes') nsfns.m:2034: warning: braces around scalar initializer nsfns.m:2034: warning: (near initialization for 'Sns_hide_emacs.s.command_modes') nsfns.m:2067: warning: braces around scalar initializer nsfns.m:2067: warning: (near initialization for 'Sns_emacs_info_panel.s.command_modes') nsfns.m:2078: warning: braces around scalar initializer nsfns.m:2078: warning: (near initialization for 'Sns_font_name.s.command_modes') nsfns.m:2098: warning: braces around scalar initializer nsfns.m:2098: warning: (near initialization for 'Sns_list_colors.s.command_modes') nsfns.m:2138: warning: braces around scalar initializer nsfns.m:2138: warning: (near initialization for 'Sns_list_services.s.command_modes') nsfns.m:2163: warning: braces around scalar initializer nsfns.m:2163: warning: (near initialization for 'Sns_perform_service.s.command_modes') nsfns.m:2261: warning: braces around scalar initializer nsfns.m:2261: warning: (near initialization for 'Sns_do_applescript.s.command_modes') nsfns.m:2419: warning: braces around scalar initializer nsfns.m:2419: warning: (near initialization for 'Sxw_color_defined_p.s.command_modes') nsfns.m:2429: warning: braces around scalar initializer nsfns.m:2429: warning: (near initialization for 'Sxw_color_values.s.command_modes') nsfns.m:2454: warning: braces around scalar initializer nsfns.m:2454: warning: (near initialization for 'Sxw_display_color_p.s.command_modes') nsfns.m:2471: warning: braces around scalar initializer nsfns.m:2471: warning: (near initialization for 'Sx_display_grayscale_p.s.command_modes') nsfns.m:2485: warning: braces around scalar initializer nsfns.m:2485: warning: (near initialization for 'Sx_display_pixel_width.s.command_modes') nsfns.m:2496: warning: braces around scalar initializer nsfns.m:2496: warning: (near initialization for 'Sx_display_pixel_height.s.command_modes') nsfns.m:2637: warning: braces around scalar initializer nsfns.m:2637: warning: (near initialization for 'Sns_display_monitor_attributes_list.s.command_modes') nsfns.m:2741: warning: braces around scalar initializer nsfns.m:2741: warning: (near initialization for 'Sx_display_planes.s.command_modes') nsfns.m:2752: warning: braces around scalar initializer nsfns.m:2752: warning: (near initialization for 'Sx_display_color_cells.s.command_modes') nsfns.m:2841: warning: braces around scalar initializer nsfns.m:2841: warning: (near initialization for 'Sx_show_tip.s.command_modes') nsfns.m:2904: warning: braces around scalar initializer nsfns.m:2904: warning: (near initialization for 'Sx_hide_tip.s.command_modes') nsfns.m:2981: warning: braces around scalar initializer nsfns.m:2981: warning: (near initialization for 'Sns_frame_geometry.s.command_modes') nsfns.m:3025: warning: braces around scalar initializer nsfns.m:3025: warning: (near initialization for 'Sns_frame_edges.s.command_modes') nsfns.m:3049: warning: braces around scalar initializer nsfns.m:3049: warning: (near initialization for 'Sns_set_mouse_absolute_pixel_position.s.command_modes') nsfns.m:3091: warning: braces around scalar initializer nsfns.m:3091: warning: (near initialization for 'Sns_mouse_absolute_pixel_position.s.command_modes') nsfns.m:3110: warning: braces around scalar initializer nsfns.m:3110: warning: (near initialization for 'Sns_show_character_palette.s.command_modes') CC nsmenu.o In file included from nsmenu.m:28: lisp.h:2156: warning: declaration does not declare anything nsmenu.m: In function '-[EmacsMenu fillWithWidgetValue:]': nsmenu.m:679: error: 'NSTextAlignmentRight' undeclared (first use in this function) nsmenu.m:679: error: (Each undeclared identifier is reported only once nsmenu.m:679: error: for each function it appears in.) nsmenu.m: At top level: nsmenu.m:1942: warning: braces around scalar initializer nsmenu.m:1942: warning: (near initialization for 'Sns_reset_menu.s.command_modes') nsmenu.m:1951: warning: braces around scalar initializer nsmenu.m:1951: warning: (near initialization for 'Smenu_or_popup_active_p.s.command_modes') make[1]: *** [nsmenu.o] Error 1 make: *** [src] Error 2 ~/Desktop/emacs $ git apply /Users/HOME/Desktop/0001-Fix-nsmenu-compilation-under-macOS-10.6.patch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > Date: [04-18-2022 21:19:10] <19 Apr 2022 05:19:10 +0100> > From: Alan Third > To: Po Lu > Cc: Keith David Bershatsky , emacs-devel@gnu.org, Mattias EngdegÄrd , Paul Eggert > Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat'