bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23753: 25.0.95; configuration of X client fails to include graphics


From: Charles A. Roelli
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

> From: Peter Dyballa <address@hidden>
> 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 <address@hidden>
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]