10.4u SDK system header errors not present in current OS SDK
10.4u SDK system header errors not present in current OS SDK
- Subject: 10.4u SDK system header errors not present in current OS SDK
- From: "Justin Walsh" <email@hidden>
- Date: Thu, 24 Aug 2006 09:40:20 -0700
Hello all,
I am getting the strangest errors and am unable to track them down. These errors only show up when i compile against the 10.4u SDK in xcode 2.4, if i switch the SDK to current OS, or 10.3.9 the errors are not present.
Errors:
Checking Dependencies
CompileC build/UniversalSampleTest.build/Debug/UniversalSampleTest.build/Objects-normal/ppc/Bezier.o /Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/Bezier.cpp normal ppc c++
com.apple.compilers.gcc.4_0
cd /Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest
/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -fvisibility-inlines-hidden -mfix-and-continue -mmacosx-version-min=
10.4 -I/Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/build/UniversalSampleTest.build/Debug/UniversalSampleTest.build/UniversalSampleTest.hmap -F/Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/build/Debug -I/Library/Frameworks/OgreCEGUIRenderer.framework/Headers -I/Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/build/Debug/include -I/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/Ogre.framework/Headers -I/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/CEGUI.framework/Headers -I/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks/CEGUI.framework/Headers/elements -I/Library/Frameworks/CEGUI.framework/Headers/falagrad -I/Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/build/UniversalSampleTest.build/Debug/UniversalSampleTest.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/Bezier.cpp -o /Users/justinwalsh/Desktop/10.4sdkTest/UniversalSampleTest/build/UniversalSampleTest.build/Debug/UniversalSampleTest.build/Objects-normal/ppc/Bezier.o
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cstddef:52: error: '::ptrdiff_t' has not been declared
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cstddef:53: error: '::size_t' has not been declared
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cstdio:99: error: '::FILE' has not been declared
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cstdio:100: error: '::fpos_t' has not been declared
...
These errors continue on to 1905 errors. All of my linked in frameworks are built against the 10.4u SDK and they build fine with no errors at compile or link time, and I am not using zerolink. The issue presents itself when i try and use my
ogre.framework in a new project that uses it.
Here is a link to the preprocessed file that errors.
http://www.trickyfly.com/Bezier.iHere is a link to the project files and frameworks:
http://www.trickyfly.com/10.4sdkTest.zipI explicitly add into the header search paths...
/Library/Frameworks/Ogre.framework/Headers
as the code i am building this for access the headers in code like "
Ogre.h" instade of <Ogre/Ogre.h>
Best Regards,
Justin Walsh
--
//------------------------------------------------
The blog:
http://blog.trickfly.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden