mesonbuild/meson

Prioritize clang ObjC compiler over gobjc

Open

#6.222 geöffnet am 22. Nov. 2019

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.465 Forks)batch import
good first issuehelp wanted

Repository-Metriken

Stars
 (4.978 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 30T 19h) (63 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide