Re: Bogus LLVM warning
Re: Bogus LLVM warning
- Subject: Re: Bogus LLVM warning
- From: Quincey Morris <email@hidden>
- Date: Thu, 06 Oct 2011 13:08:39 -0700
On Oct 6, 2011, at 07:38 , John Cate wrote: I'm getting a "Previous declaration of 'method name' " warning, and there is no other declaration. There had been, but it has been removed. I tried a Clean and recompile, and then I tried quitting Xcode and recompiling. Its still there. Should I fix a bug?
Note that both Clang and GCC generate additional diagnostic messages that point to the "previous" declaration. In Xcode 3 or 4 you should be able to find these messages in the build transcript (perhaps needing to expand a disclosure triangle or two). In Xcode 4, if you go to the error message in the source file and click on the number-of-errors bubble at the end of the error, it will generally show you the additional messages.
If you suspect that there is a problem with the old declaration lingering in the project index, you can go to the Projects pane of the Organizer window, find your project and click the button that deletes the derived data folder. When you go back to the project window, you should already see your project being re-indexed.
|
_______________________________________________
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