bug in XCode?
bug in XCode?
- Subject: bug in XCode?
- From: "H. Miersch" <email@hidden>
- Date: Thu, 22 Apr 2004 03:14:55 +0100
hi
i'm working on my first carbon project (in C) and a strange problem
appeared:
the line
FieldID = {kLOApplicationSig,128+i};
caused the following errors on compilation:
newcust.c:5: error: label `newCustomerEnd' used but not defined
newcust.c:14: error: parse error before '{' token
newcust.c:25: error: parse error before ':' token
in the header file, FieldID is declared as a ControlID. today i changed
the line to the following:
ControlID FieldID = {kLOApplicationSig,128+i};
and now i don't get those errors. this means to me that the declaration
in the header file doesn't work. the question is, why? is this a bug?
i just tried something: if i remove the declaration from the header
file and turn the problem line back to its original state, i get an
additional error:
newcust.c:14: error: `FieldID' undeclared (first use in this function)
(Each undeclared identifier is reported only once for each function it
appears in.)
which means the declaration DID work, which makes the other error
messages much more mysterious.
Chris E., what's your take on this situation?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.