mesonbuild/meson

Prioritize clang ObjC compiler over gobjc

Aberta

#6.222 aberto em 22 de nov. de 2019

 (3 comentários) (0 reação) (0 responsável)Python (1.465 forks)batch import
good first issuehelp wanted

Métricas do repositório

Stars
 (4.978 estrelas)
Métricas de merge de PR
 (Mesclagem média 139d 13h) (51 fundiu PRs em 30d)

Description

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.

Guia do colaborador