From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28.1 doesn't compile on Mac OS 10.7.5 Date: Fri, 15 Apr 2022 15:23:01 +0000 (UTC) Message-ID: <20220415.172301.1386462415020611428.wl@gnu.org> References: <20220415.135547.28187788939231142.wl@gnu.org> <3F594037-7DF0-406B-A8DB-8709F76D7583@acm.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14546"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dports@macports.org, emacs-devel@gnu.org To: mattiase@acm.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 15 17:24:01 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 1nfNnl-0003bz-GN for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 17:24:01 +0200 Original-Received: from localhost ([::1]:45154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfNnk-00027H-7S for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 11:24:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfNmx-0001Oc-Rl for emacs-devel@gnu.org; Fri, 15 Apr 2022 11:23:11 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:59493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfNmw-0003fl-8r for emacs-devel@gnu.org; Fri, 15 Apr 2022 11:23:11 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 48356240028 for ; Fri, 15 Apr 2022 17:23:07 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kg0T60w27z9rxD; Fri, 15 Apr 2022 17:23:05 +0200 (CEST) In-Reply-To: <3F594037-7DF0-406B-A8DB-8709F76D7583@acm.org> Received-SPF: pass client-ip=185.67.36.65; envelope-from=werner.lemberg@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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:288444 Archived-At: > It seems likely that this version has __clang_major__ = 4 despite > begin based on 3.2; if so, then the attached change may be the right > solution. Would you give it a try? This helps, thanks. However, it is not sufficient. Here's the next compilation error (omitting the follow-up ones). ``` sysdep.c:4133:3: error: use of undeclared identifier 'rusage_info_current' rusage_info_current ri; ^ sysdep.c:4134:7: warning: implicit declaration of function 'proc_pid_rusage' is invalid in C99 [-Wimplicit-function-declaration] if (proc_pid_rusage(proc_id, RUSAGE_INFO_CURRENT, (rusage_info_t *) &ri) == 0) ^ ... ``` Werner