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: Alan Third
Subject: bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8
Date: Sun, 10 Dec 2017 10:20:35 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Sat, Dec 09, 2017 at 03:49:08PM -0500, Glenn Morris wrote:
> Charles A. Roelli wrote:
> 
> > 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.
> 
> Interesting.
> 
> https://en.wikipedia.org/wiki/Blocks_(C_language_extension)
> 
>   Blocks are a non-standard extension added by Apple Inc. to Clang's
>   implementations of the C, C++, and Objective-C programming languages 
> 
> I would think removing this feature from the Emacs sources so that
> they compile with standard gcc would be a high priority for Emacs.
> It's surpising this has not come up before.

I suspect that very few people on macOS have bothered trying to build
with GCC.

It looks as though the blocks are there to improve performance. I’ve
tried removing them and don’t immediately see any problems, but maybe
I’m not looking in the right places.

-- 
Alan Third

Attachment: 0001-Remove-ObjC-blocks-Bug-23753.patch
Description: Text document


reply via email to

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