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.
I just copied my project from my iBook to my G4 and tried to build it. I started getting a massive number of errors, starting with:
Code:
In file included from FMController.m:1:
FMController.h:0: Precompiled header is invalid; header file /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h is now different.
In file included from FMController.h:3,
from FMController.m:1:
/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:-3: Precompiled header is invalid; header file /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h is now different.
I'm using the Dec dev tools on both machines. Can someone help me out here?
Yes, pre-compiled headers are substantially different for gcc 3.x. I believe there is also a difference in the way C++ names are mangled making code compiled with earlier versions of gcc incompatible.