Weird Build Problem
Weird Build Problem
- Subject: Weird Build Problem
- From: Dave <email@hidden>
- Date: Fri, 23 Feb 2007 09:46:33 +0000
Hi All,
My project was building fine, but now I get loads of warnings and
errors and I'm not sure what to do to fix them. I had a file in my
Project called "testfpa2.c" and in the finder renamed it to
"TestFPA2.c". I then removed "testfpa2.c" from my project and added
back "TestFPA2.c" using the "Add to Project" command. I then did a
"Clean All" and a "Build".
At this point I got 469 Warnings and 1 Error (before I had just 1
warning!).
I've tried changing the name of the file name back again but I still
get the problem. I have copied some of the Build Window to this message.
I've been playing around with this for a couple of hours now, but I
just can't figure out what is going wrong. The Warnings come from
Thanks for the Help
All the Best
Dave
Building target “testfpa2” of project “TestFPA2” with configuration
“Debug” — (1 error, 469 warnings)
cd /Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2
/usr/bin/gcc-4.0 -x c -arch i386 -pipe -Wno-trigraphs -fpascal-
strings -fasm-blocks -g -O0 -Wmissing-prototypes -Wreturn-type -
Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-
variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -
fmessage-length=0 -mfix-and-continue -I/Documents/Programming/
RunRevBase/Projects/HFPA-VW/ExternalsEnvironmentV2/testfpa2/../_cache/
Debug/testfpa2.build/testfpa2.hmap -F/Documents/Programming/
RunRevBase/Projects/HFPA-VW/ExternalsEnvironmentV2/testfpa2/../_build/
Debug -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -I/
Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/../_build/Debug/include -I/Documents/
Programming/RunRevBase/Projects/HFPA-VW/ExternalsEnvironmentV2/
testfpa2/../_build/Debug/headers -I/Documents/Programming/RunRevBase/
Projects/HFPA-VW/ExternalsEnvironmentV2/testfpa2/../_cache/Debug/
testfpa2.build/DerivedSources -include /Documents/Programming/
RunRevBase/Projects/HFPA-VW/ExternalsEnvironmentV2/testfpa2/../_cache/
Debug/precomp.i386/Carbon-bnnilwzhksgoujckohekbssilcsy/Carbon.h -
D_MACOSX -c /Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c -o /Documents/
Programming/RunRevBase/Projects/HFPA-VW/ExternalsEnvironmentV2/
testfpa2/../_cache/Debug/testfpa2.build/Objects-normal/i386/testfpa2.o
cc1: warning: -Wuninitialized is not supported without -O
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuartzCore.framework/Headers/CVOpenGLBuffer.h:21,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuartzCore.framework/Headers/CoreVideo.h:27,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuickTime.framework/Headers/ImageCompression.h:25,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuickTime.framework/Headers/Movies.h:51,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
from /Documents/Programming/RunRevBase/Projects/
HFPA-VW/ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:10:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2771: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2772: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2773: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2774: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2775: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2776: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2777: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2778: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2780: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2781: warning: declaration of
'index' shadows a global declaration
*************** Lots of similar warnings here, cut from message for
brevity
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:115: error: parse
error before string constant
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:115: warning: no
previous prototype for '__dummy_function'
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c: In function
'crsUtilGetArrayElement':
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:227: warning: return
makes integer from pointer without a cast
cc1: warning: -Wuninitialized is not supported without -O
from /Documents/Programming/RunRevBase/Projects/
HFPA-VW/ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:10:
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/Movies.h:51,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/ImageCompression.h:25,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuartzCore.framework/Headers/CoreVideo.h:27,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuartzCore.framework/Headers/CVOpenGLBuffer.h:21,
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2771: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is
here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
OpenGL.framework/Headers/glext.h:2772: warning: declaration of
'index' shadows a global declaration
/usr/include/string.h:122: warning: shadowed declaration is
here
from /Documents/Programming/RunRevBase/Projects/
HFPA-VW/ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:10:
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/QuickTime.h:30,
from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/MediaHandlers.h:24,
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/
Library/Frameworks/QuickTime.framework/Headers/Movies.h:51,
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
QuickTime.framework/Headers/ImageCompression.h:1032: warning:
declaration of 'cType' shadows a global declaration
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
ApplicationServices.framework/Frameworks/AE.framework/Headers/
AERegistry.h:104: warning: shadowed declaration is here
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/
QuickTime.framework/Headers/ImageCompression.h:1051: warning:
declaration of 'cType' shadows a global declaration
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:115: error: parse
error before string constant
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:115: warning: no
previous prototype for '__dummy_function'
/Documents/Programming/RunRevBase/Projects/HFPA-VW/
ExternalsEnvironmentV2/testfpa2/src/testfpa2.c:227: warning: return
makes integer from pointer without a cast
Build failed (1 error, 469 warnings)
_______________________________________________
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