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 > Cocoa compiling question

Cocoa compiling question
Thread Tools
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Nov 1, 2003, 11:58 PM
 
I have been writing some code for a project and I have suddenly started seeing this when I build the code:

warning: could not use precompiled header '/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa-gcc3.o', because:

warning: 'AvailabilityMacros.h' has different date than in precomp

It comes up with a few other warning, all of them similiar to the above one. This is on 10.2.8. If anyone knows how to make these warnings go away, I would be greatly appreciative. I am coding on a Beige G3 @ 466Mhz and the compile times are dragging forever. Thanks!
     
Mac Enthusiast
Join Date: Jan 2001
Status: Offline
Reply With Quote
Nov 2, 2003, 01:05 AM
 
Yep, that happens... it's not really a bad thing. Fire up the terminal and try running fixprecoms and see if that helps.
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Nov 2, 2003, 10:31 PM
 
Ok I ran fixprecomps and it worked. I had to google it because fixprecoms did not work... Anyways, for those that this happens to, make sure you are logged in as root to run it. Thanks for the help 00101001!
     
   
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:21 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