Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > another cocoa error, more like 115.

another cocoa error, more like 115.
Thread Tools
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status: Offline
Reply With Quote
May 12, 2005, 07:01 PM
 
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
Reply With Quote
May 12, 2005, 07:11 PM
 
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'."
     
Mafia  (op)
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status: Offline
Reply With Quote
May 12, 2005, 07:22 PM
 
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
Reply With Quote
May 12, 2005, 07:28 PM
 
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
Reply With Quote
May 12, 2005, 08:10 PM
 
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
Reply With Quote
May 12, 2005, 11:12 PM
 
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
Reply With Quote
May 13, 2005, 12:39 AM
 
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.
     
Mafia  (op)
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status: Offline
Reply With Quote
May 13, 2005, 04:41 PM
 
thanks for the help guys. it seemed like just cocoa wigging out at quotations within quotations. i eventually found and corrected the 4 errors that xcode was reading as 115. http://www.versiontracker.com/dyn/moreinfo/macosx/24320
http://www.mafia-designs.com
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:32 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2