mesonbuild/meson

Prioritize clang ObjC compiler over gobjc

Open

#6,222 opened on 2019年11月22日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Python (1,465 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (4,978 stars)
PR merge metrics
 (平均マージ 139d 13h) (30d で 51 merged PRs)

説明

Currently meson prefers the GNU ObjC compiler if both it and the clang one are available. This is a bit suboptimal as gobjc doesn't support ARC for example, and is generally left behind a decade or more in terms of ObjC features.

On macOS systems where both are installed you will likely not be able to compile anything using system APIs with gobjc.

In addition it might also be helpful to add some feature checks for ObjC compilers, e.g. if ARC or blocks are properly supported.

コントリビューターガイド