Recently, I just upgraded to OSX Yosemite on my Mac, and although I'm not sure if this is the reason, it seems suspicious that all of my C ++ programs suddenly crack a segmentation error.
I even tried the basic of all the major Hello World programs, and I still get a segmentation error. Literally every C ++ program does the same.
#include <iostream> using namespace std; int main() { cout << "Hello World" << endl; }
I installed Xcode updates to make sure this fixes the situation, but no luck. I am curious if anyone else has the same problem? Regardless of Yosemite, did you experience this problem when your Mac throws segmentation errors for everything ?
I have to add, I'm compiling with g ++
c ++ xcode osx-yosemite macos
carbon_ghost
source share