[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
0001-Remove-ObjC-blocks-Bug-23753.patch
Description: Text document
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Glenn Morris, 2017/12/08
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Richard Stallman, 2017/12/10
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Alan Third, 2017/12/10
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Charles A. Roelli, 2017/12/11
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Alan Third, 2017/12/11
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, YAMAMOTO Mitsuharu, 2017/12/11
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Alan Third, 2017/12/12
- bug#23753: 25.0.95; configuration of X client fails to include graphics libraries on Mac OS X 10.6.8, Glenn Morris, 2017/12/12