Re: duplicate symbol error

2008-04-03 Thread Daniel Child
Thanks. Separating the header and implementation solved the linking error, and that should hopefully cure me of the sloppy habit of stuffing functions into a header. I'm not sure the differences between reported errors in Xcode 3 and 2.4 are not worth tracking down, because they are conside

Re: duplicate symbol error

2008-04-02 Thread Jens Alfke
On 2 Apr '08, at 9:32 PM, Daniel Child wrote: I have no idea why this is happening, especially since there is no evLanguageAsString in either DataDescription.h or .m. I agree with Stephen — make sure you didn't forget the "extern" in the variable's declaration in the header. There is one

Re: duplicate symbol error

2008-04-02 Thread stephen joseph butler
On Wed, Apr 2, 2008 at 11:32 PM, Daniel Child <[EMAIL PROTECTED]> wrote: > ld: duplicate symbol _evLanguageAsString in > /Users/.../build/.../Debug/LSC Data > Preparation.build/Objects-normal/ppc/DataDescription.o > and > /Users/.../build/.../Debug/LSC Data > Preparation.build/Objects-normal/ppc/S

duplicate symbol error

2008-04-02 Thread Daniel Child
I had an application that built fine on Tiger using Xcode 2.4.1. When I try building on Leopard, I get a duplicate symbol error as follows: ld: duplicate symbol _evLanguageAsString in /Users/.../build/.../Debug/LSC Data Preparation.build/Objects-normal/ ppc/DataDescription.o and /Users