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 18:24:50 -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="4307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , Mattias =?UTF-8?B?RW5nZGVnw6VyZA==?= , Paul Eggert , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 19 03:26:19 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 1ngcdG-0000yc-8M for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Apr 2022 03:26:18 +0200 Original-Received: from localhost ([::1]:50316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngcdE-0005lO-ON for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Apr 2022 21:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngcbw-0004yX-RL for emacs-devel@gnu.org; Mon, 18 Apr 2022 21:24:56 -0400 Original-Received: from gateway22.websitewelcome.com ([192.185.46.234]:29628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngcbt-0000Dm-TF for emacs-devel@gnu.org; Mon, 18 Apr 2022 21:24:56 -0400 Original-Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 6D8585D77 for ; Mon, 18 Apr 2022 20:24:52 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id gcbsnUNiZ9AGSgcbsnmjBL; Mon, 18 Apr 2022 20:24:52 -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=WKKn5gMIAcBZs92eXV6S98XNDB6GeO1N64g2LbFlpSU=; b=fzVvCbuN/PIG8OroS4n97L0HqB G299PVD1D7K2ck9ThudkUue4fYcnuD0TzvZZv+AfyfIHJM587dYWy/YC7ZbucUcuF7MOErLfSc6ij TLsfvlte0oBqeSmqsAK/Xgb2mkvFgm+iKQdOmUs8+VwNq+gObzTUoAJsdyot0iPlIBpH2w4IEm9bb 9ZN0JzXgLwYmHzDzKqPBzCs9aUwNcR8WwIEySvJaA53iUM6F8mhfopyeHCRRShB4g51cFuCZLc6Ul TjLxYbYkazFMdqX6IjSfPQwKL0J6H+Yu0PD0mCwux8SOalcoYIdo9pPijSdfRnclJv4/Cvpl+FLhC ML4qJi9Q==; Original-Received: from cpe-45-48-245-70.socal.res.rr.com ([45.48.245.70]:49317 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 1ngcbr-002hVi-Gz; Mon, 18 Apr 2022 20:24:51 -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: 1ngcbr-002hVi-Gz X-Source-Sender: cpe-45-48-245-70.socal.res.rr.com (server.local) [45.48.245.70]:49317 X-Source-Auth: lawlist X-Email-Count: 2 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes Received-SPF: pass client-ip=192.185.46.234; envelope-from=esq@lawlist.com; helo=gateway22.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:288637 Archived-At: I located just one instance of 1060 and changed it to 1068 per your suggestion. The build generated one warning during the nsterm.m section, and then moved on to nsfns.m, where the build stopped. CC nsterm.o In file included from nsterm.m:46: lisp.h:2156: warning: declaration does not declare anything 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:652: error: stray '@' in program nsmenu.m:652: error: field name not in record or union initializer nsmenu.m:652: error: (near initialization for 'font_attribs') nsmenu.m:652: warning: incompatible Objective-C types initializing 'struct NSFont *', expected 'struct NSDictionary *' nsmenu.m:678: error: 'NSTextAlignmentRight' undeclared (first use in this function) nsmenu.m:678: error: (Each undeclared identifier is reported only once nsmenu.m:678: error: for each function it appears in.) nsmenu.m:680: error: stray '@' in program nsmenu.m:680: error: expected expression before '{' token nsmenu.m:683: error: stray '@' in program nsmenu.m:683: error: expected ':' before ']' token nsmenu.m:683: confused by earlier errors, bailing out make[1]: *** [nsmenu.o] Error 1 make: *** [src] Error 2 ~/Desktop/emacs $ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > Date: [04-18-2022 18:00:39] <19 Apr 2022 09:00:39 +0800> > From: Po Lu > To: Keith David Bershatsky > Cc: emacs-devel@gnu.org, Alan Third , Mattias EngdegÄrd , Paul Eggert > Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' > > Keith David Bershatsky writes: > > > If the value of MAC_OS_X_VERSION_MAX_ALLOWED is the same for earlier > > versions of Emacs running on the same operating system, then the value > > is 1068. > > Thanks. What if after applying the patch you replace every instance of > `1060' with `1068'?