 |
 |
another cocoa error, more like 115.
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
ok, literally one second the app compiles fine then i type in a little bit of information (no system code or anything) and i get 115 errors and over 10,000 errors. most of the warnings is the compiler literally ignoring all the characters in all 900 lines following the preprocessor. The errors, are like parse error before 'm', syntax error at '#' token, or stray '\(insert 200 - 299 number here)' in program. what am i doing wrong, or why am i getting this crazy compile. i would search the code for errors but iw ouldn't even kno where to begin! thanks in advance.
mafia
|
|
http://www.mafia-designs.com
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
One error can result in an entire unparsable program (for instance, if you type "/*" somewhere).
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
ya i'm thinking that this is probably it, but i have no idea where it is, looks like most of the errors are around the call for the ".h" file. so i'm wondering what hte deal is. i guess if worst comes to worse i'll just walk through all of the code. 
|
|
http://www.mafia-designs.com
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Try looking at the first few errors, though not necessarily the very first. The source of this kind of problem often around there (because that's usually where things start going haywire). I'd be especially suspicious of mistakes in a header file, from the sound of it.
Obviously, I have no idea what's wrong in this case, but those are the best chance of a "quick fix" that I can think of right now.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Is one of your source files saved as UTF-16?
|
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2003
Location: San Diego
Status:
Offline
|
|
Also, open the "Build Results" window in XCode. (Cmd + Shift + B). That will help you narrow down where the error exists if it is in a header file...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status:
Offline
|
|
The "stray \number" error is probably the culprit. It means you have a strange character somewhere in one of your files. One possible fix is to use BBEdit's "Zap Gremlins" command - it'll mark everything odd.
Another possibility is that you are including an objective-C header from a non-objective-c file. For example, putting #import <Cocoa/Cocoa.h> into a .c or a .cpp file.
|
Geekspiff - generating spiffdiddlee software since before you began paying attention.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
|
|
|
http://www.mafia-designs.com
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|