I have a project that was compiling ok within g++(I can\'t see the version right now) and now on xCode it is not. I think that I got the problem now... I have a String.h
On OSX the filesystem is case insensitive - so String.h you can wind up with conflicts like that. String.h == string.h