I have a Mac dev machine that has installed Xcode 7.3.1 and Xcode 8.0.
After updating to CUDA 8, I set up the system to use the Xcode 7.3.1 command line tools, as Xcode 8 command line tools are currently unsupported by nvcc 8.0.
After updating the OS from OS X 10.11 El Capitan to macOS 10.12 Sierra, I am no longer able to compile a hello world program with CUDA 8.
The compilation fails, the output containing hundreds of lines of /usr/include headers, starting with:
/usr/include/stdio.h(133): error: expected a ")"
/usr/include/stdio.h(134): error: expected a ")"
/usr/include/stdio.h(134): error: "_Nullable" has already been declared in the current scope