Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Tom Stiller Newsgroups: comp.sys.mac.apps Subject: I need help with XCode 7.3 Date: 27 Mar 2016 01:54:10 GMT Organization: Old Men With Beards Lines: 31 Message-ID: Reply-To: clusterfux X-Trace: individual.net xdAidrG766pLlKJsNajC8w852kn9/H1AkXppwjSkfGKm0G7OjQ Cancel-Lock: sha1:JRKVIkQS1Dr8vPy9NV4SuvooIHs= User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.apps:34934 I only use XCode to compile the occasional "C" program but after updating to OS X 10.11.4 and XCode 7.3 I cannot even compile a "hello world" file. Source: #include # int main(int argc, char** argv) { printf("Hello world.\n"); } } Result: bash-3.2$ which cc /Developer/usr/bin/cc bash-3.2$ cc hello.c couldn't understand kern.osversion `15.4.0' hello.c:1:21: error: unistd.h: No such file or directory hello.c: In function 'main': hello.c:5: warning: incompatible implicit declaration of built-in function 'printf' bash-3.2$ I don't understand what generates the couldn't understand kern.osversion `15.4.0' message and I don't know how to prevent the error. Can someone help? TIA