Re: I hate xcode for such a bugs
Re: I hate xcode for such a bugs
- Subject: Re: I hate xcode for such a bugs
- From: Sherm Pendley <email@hidden>
- Date: Fri, 9 Oct 2009 13:37:12 -0400
On Fri, Oct 9, 2009 at 11:59 AM, Bill Bumgarner <email@hidden> wrote:
>
> On Oct 9, 2009, at 5:41 AM, Шкраблюк Павел wrote:
>
>> 6. comment (or remove) some of A's members in 1.h/cpp and push cmd+b
>> and ... you'll get LINKER error! What does it mean? It means that
>> it didn't even try to COMPILE main.cpp.
>>
>> I tried to figure out what happens for about 3 days.
>> Today I've found solution - set file type of 1.h to 'sourcecode.cpp.h'
>> (when created automatically it gets 'sourcecode.c.h'); when this is
>> done everything goes right - I get compiler error.
>
> (If you were to look at the linker errors, it would tell you that the
> symbols you commented out don't exist. While not as useful as a compiler
> error, it is still pretty indicative of the real problem. However, I fully
> agree that the compiler should have failed.)
>
> I don't think that is the problem. I just set up the exact scenario as you
> described and got a compiler error. Furthermore, I my 1.h file is of type
> 'sourcecode.cpp.h'.
I get identical results as the OP, using Xcode 3.1.3 on Leopard
10.5.8, right down to the file type of 1.h.
> When something like this happens, the first question is whether or not there
> is anything not straightforward about your filesystems.
Not in my case - it's just a plain old HFS+ filesystem on a local HD.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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