When I compile a open source program called gate with "make" I have this error message:
error <atomic> is not implemented
I must add that I know this program and I compiled it several times previously with no problem
My setup looks like:
sudo xcode-select --install
which gcc
gcc --version
I run on yosemite 10.10.5, xcode 7.1.1 and I tried several compilations with clang and gcc
Best Answer
Looking at the question, the edits and the comments, it's becoming clear that the setup of your compiler chain and the headers is probably the cause. You could keep trying to add things, but I would take a different tack:
The tool I use is homebrew, so you can install it per https://brew.sh
brew update
brew doctor
- and be sure you follow any of the advice in the doctor or post here for advicebrew install gcc
Here is the test program I used for a "minimal test case"
Before using the "brew" version of gcc, I get what I presume is the same error as you:
But if I compile it using the "brew installed gcc", I'm getting a very nice detailed message
TLDR;