Compiling c++
Compiling c++
- Subject: Compiling c++
- From: John Nairn <email@hidden>
- Date: Mon, 16 Jan 2012 11:57:03 -0800
My Cocoa app (developing in Lion with Xcode 4.1) has a collection of C++ files (utility methods I developed a long time ago). It has compiled from clean state fine ever since updating to Lion and Xcode 4.x. For the first time today, I changed one of the C++ files and now it won't compile with error message
Expected '=', ','. ';', 'asm', or '__attribute__' before 'TimeSpane
When I googled this error I found it occurs when compiler is using C instead of C++. But, I was compiling fine before and I made no change to convert to C vs. C++ so what has happened?
The C++ file names being compiled all use extension .cpp and header files use extension .h. They all compiled fine in XCode 4.1 until today?
John Nairn
------------
John Nairn
http://www.geditcom.com
Genealogy Software for the Mac
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden