nikko wrote:I suspect you're trying to declare a mutable reference member variable. A reference can only be set when it is constructed and can't be modified afterward, so declaring it to be mutable will have no effect.
I have one problem. I'm getting two instances of this compile error:
"'Mutable' cannot be applied to references."
Ralph wrote:Xcode 4 is fine, LLVM is also in most of the cases. I found only one compiler bug (not with the API), which has been corrected since then. The LLVM output is binary compatible with the code compiled with GCC.
I'm not sure that the LLVM Compiler output would be binary compatible with the ArchiCAD API - be careful, it might result in some very subtle bugs. Perhaps someone from GS could comment on the compatibility of XCode 4 and the LLVM Compiler with the ArchiCAD API?
Ben wrote:You don't have to use XCode 4.2 with Lion - I have both XCode 3.2.6 and 4.2 installed and use either depending on the requirements. I'm using only 3.2.6 for ArchiCAD development.
I have to run Xcode 4.2 on a my new machine running Lion. I have managed to get the project to compile using the LLVM compiler, but the bundle is not being created.?
Ben wrote:Apple are at pains to point out that they don't support 3.2.6 on Lion, and put up minor obstacles to casual installation attempts. But there are several ways to install it and it works fine. You can even get most of the compiler plugins and SDKs in 3.2.6 to work in 4.x, but I wouldn't recommend that approach. The major change is that legacy PPC support has finally ended, and thus any compiler supporting PPC output will be limited.
Xcode 3.2.6 will not install correctly on Lion.