Re: GCC 4.2 complains about 10.4 SDK but…
Re: GCC 4.2 complains about 10.4 SDK but…
- Subject: Re: GCC 4.2 complains about 10.4 SDK but…
- From: Christiaan Hofman <email@hidden>
- Date: Fri, 31 Dec 2010 11:56:51 +0100
On Dec 31, 2010, at 2:49, Philip White wrote:
>
> On Dec 30, 2010, at 7:41 PM, Christiaan Hofman wrote:
>
>>
>> On Dec 31, 2010, at 2:32, Philip White wrote:
>>
>>> …I'm not using the 10.4 sdk. I've added another target to an old project of mine and it refused to compile any file because I have GCC 4.2 chosen. It gives the error:
>>> GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file main.cpp)
>>>
>>> But i've checked dozens of time that 10.6 is chosen as the base sdk and that I have the right target chosen when I compile. The base SDK is set to 10.6 in both the project and target settings, for all configurations. If I make a new project and attempt to duplicate the problem target I can compile with no problems.
>>>
>>> I've never been so frustrated with Xcode; I've been screwing around with this for half that day.
>>>
>>> Any suggestions would be most welcome.
>>>
>>> Thanks,
>>> Philip
>>
>> Have you Option-clicked the Overview popup button (or the Project menu), and checked the Active SDK?
>>
>> Christiaan
>>
>
> Oh hey! Option-clicking worked! The "Set Active SDK" menu item in the "Project Menu" contained one, grayed-out item, "Base SDK". But when I option click on the overview popup-button, it lists a full complement of SDKs and showed that 10.4 was chosen. And now that I've chosen another one from there, the Project menu contains the full list too.
>
> Thanks, I had no idea about the option clicking trick!
>
> -Philip
And to the Apple engineers who I know are monitoring this list:
How many times does this issue have to come up on this list and the bug reporter before it finally sinks in: THIS IS A BUG! (Sorry I don't like capitals, but if you don't even want to acknowledge an obvious bug...)
And if you don't think this is a bug, please answer the following two questions:
1. Why would I need to hold down Option to see the currently used Active SDK?
2. In view of your answer to Q1, why must it be extremely hard (virtually impossible to discover on your own) to reset this (often inadvertent) choice?
If your answers to these questions are not contradicting each other, I am sure you will have to admit that this is a bug.
Christiaan
_______________________________________________
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