narrowing down where "non-relocatable subtraction expression" errors come from?
narrowing down where "non-relocatable subtraction expression" errors come from?
- Subject: narrowing down where "non-relocatable subtraction expression" errors come from?
- From: Michael Dautermann <email@hidden>
- Date: Fri, 13 Aug 2010 10:24:14 -0700
Hello all!
I'm working on a fairly large piece of software where XCode (or gcc 4.2; and gcc 4.0 for that matter) spits out this error when compiling one particularly large Objective C++ file for i386:
{standard input}:6711:non-relocatable subtraction expression, "LC28" minus "L00000000026$pb"
{standard input}:6711:symbol: "L00000000026$pb" can't be undefined in a subtraction expression
{standard input}:unknown:Undefined local symbol L00000000026$pb
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
I know the brute force solution involves commenting out large swaths of the code (and writing a bunch of temporary stub functions). But would there a more elegant way to determine where a mysterious error like this comes from?
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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