mesonbuild/meson

Prioritize clang ObjC compiler over gobjc

Open

#6,222 创建于 2019年11月22日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (4,978 star) (1,465 fork)batch import
good first issuehelp wanted

描述

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.

贡献者指南