fatal error: error writing to -: Broken pipe
Why does this simple default program for Xcode fail in this way? I didn't code this, this is the default for a new C++ project in Xcode (3.2)
#include <iostream>
int main (int argc, char * const argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
What is really weird is that it worked the first time, and I have changed nothing. All proper files appear to be in the /Developer/usr/bin folder and it doesn't seem to have problems finding anything.
Xcode 3.2-OTHER, Mac OS X (10.6.8)