From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8 Date: Sat, 09 Dec 2017 20:16:18 +0100 Message-ID: References: <574ADB58-D702-4292-AD3D-50E72726C36E@freenet.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512846855 27156 195.159.176.226 (9 Dec 2017 19:14:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2017 19:14:15 +0000 (UTC) Cc: 23753@debbugs.gnu.org To: Peter Dyballa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 09 20:14:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNkZe-0006rE-Eq for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Dec 2017 20:14:10 +0100 Original-Received: from localhost ([::1]:42281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNkZl-0002FD-B2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Dec 2017 14:14:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNkZe-0002Et-J2 for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2017 14:14:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNkZZ-0000c8-Jn for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2017 14:14:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNkZZ-0000aD-Ab for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2017 14:14:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNkZV-0007fd-Nj for bug-gnu-emacs@gnu.org; Sat, 09 Dec 2017 14:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Dec 2017 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23753-submit@debbugs.gnu.org id=B23753.151284683129457 (code B ref 23753); Sat, 09 Dec 2017 19:14:01 +0000 Original-Received: (at 23753) by debbugs.gnu.org; 9 Dec 2017 19:13:51 +0000 Original-Received: from localhost ([127.0.0.1]:54089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNkZL-0007f2-4F for submit@debbugs.gnu.org; Sat, 09 Dec 2017 14:13:51 -0500 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:60988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNkZJ-0007em-1f for 23753@debbugs.gnu.org; Sat, 09 Dec 2017 14:13:49 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 13387225F5 for <23753@debbugs.gnu.org>; Sat, 9 Dec 2017 19:06:11 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1512846369; x=1513710370; bh=N1UCXWx+QnNmi Lv1gS5QTC9WE7RDPXTw7AbwyYR6A14=; b=naf3nY80QP1kLHiuiaN7EsLL6rr97 enGgV5reLe25bPOwM3eE1pLOA7bj3Hr9WXv3LFfptYU0fhq90IW2E/1w48cV6EUO RJbn14nnfPCVGfmIso9MYcDl6COdhnZefUWLTEyHZBXMWgx9wp9LdzmuBScIHs9W EdlVpEbE/g5CDg= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sEyoshXgTndM for <23753@debbugs.gnu.org>; Sat, 9 Dec 2017 19:06:09 +0000 (UTC) Original-Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id CBFB2225D2; Sat, 9 Dec 2017 19:06:08 +0000 (UTC) In-reply-to: (message from Peter Dyballa on Sun, 12 Jun 2016 14:43:13 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140869 Archived-At: > From: Peter Dyballa > Date: Sun, 12 Jun 2016 14:23:56 +0200 > > macfont.m: In function 'macfont_get_glyph_for_character': > macfont.m:1489:51: error: expected expression before '^' token > dispatch_group_async (group, queue, ^{ > ^ > macfont.m: In function 'mac_font_get_glyphs_for_variants': > macfont.m:3285:43: error: expected expression before '^' token > dispatch_group_async (group, queue, ^{ > ^ > From: Peter Dyballa > Date: Sun, 12 Jun 2016 14:43:13 +0200 > > The GCC5 version is: MacPorts gcc5 5.4.0. The FSF GCC does not support Objective-C "blocks" (that is, the statements inside "^{...}" [1]). On an old macOS, you need to use the compiler that Apple used to ship (an extended version of FSF GCC that does support blocks), or, if you're brave, try to compile "clang" and use that. Maybe it would be possible to remove the blocks from macfont.m and to use an equivalent. [1] https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithBlocks/WorkingwithBlocks.html