mesonbuild/meson

Prioritize clang ObjC compiler over gobjc

開放

#6,222 建立於 2019年11月22日

 (3 則留言) (0 個反應) (0 位負責人)Python (1,465 個分叉)batch import
good first issuehelp wanted

倉庫指標

星標
 (4,978 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南