Why does duplicate target not compile
Why does duplicate target not compile
- Subject: Why does duplicate target not compile
- From: Mike Collier <email@hidden>
- Date: Mon, 3 May 2010 16:28:22 -0700
Hi,
I have a target in my Xcode project that compiles fine.
I wanted to create a new target that was almost the same so I did a duplicate target.
I then build the duplicate target before I make any changes to the target and it gets a bunch of errors about not finding some of the #include files.
I looked at the targets and they look identical to me except for the target name.
I looked at the actual compile line and it looks the same to except for the build location which appears to be based on the target name.
Something must be different in the way the targets get compiled but I'm stumped as to what it is.
I have put the compile lines in the email if that helps someone spot something obvious.
Does anybody have any ideas why I get this behavior?
Thanks,
Mike
-------------------------------- PASSING COMPILE ----------------------------------
CompileC build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.0.build/Objects-normal/i386/exec_input.o ../exec_input.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O1 -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-braces -Wparentheses -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -DUSE_DUMMY_FUNCTIONS -D__linux -D_POSIX_C_SOURCE -DSMART_TEST_VERSION=650 -mfix-and-continue -fvisibility-inlines-hidden -gdwarf-2 -F/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/Debug -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/Debug/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../TestMethod/shared/general/general_functions_source -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../TestMethod/shared/characterization -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../../../../../../shared/working -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../../../../../../verigy_characterization/trunk/shared -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/prod_com/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/prod_com/include/MAPI -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/com/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/pws/lib -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/mix_sgnl/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/sicl/include -I/Developer_Xcode_3.0/boost_1_37_0 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.0.build/DerivedSources/i386 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.0.build/DerivedSources -c /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp -o /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.0.build/Objects-normal/i386/exec_input.o
/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp: In function 'void get_TMLimit_TestMode(char*, int, char*, int*, int*)':
/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp:349: warning: deprecated conversion from string constant to 'char*'
-------------------------------- FAILING COMPILE ----------------------------------
CompileC build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.2.build/Objects-normal/i386/exec_input.o ../exec_input.cpp normal i386 c++ com.apple.compilers.gcc.4_2
cd /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O1 -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-braces -Wparentheses -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wnewline-eof -Wconversion -Wshorten-64-to-32 -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -DUSE_DUMMY_FUNCTIONS -D__linux -D_POSIX_C_SOURCE -DSMART_TEST_VERSION=650 -mfix-and-continue -fvisibility-inlines-hidden -gdwarf-2 -F/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/Debug -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/Debug/include -I"/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../TestMethod/shared/general/general_functions_source" -I"/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../TestMethod/shared/characterization" -I"/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../../../../../../shared/working" -I"/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../../../../../../../verigy_characterization/trunk/shared" -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/prod_com/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/prod_com/include/MAPI -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/com/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/pws/lib -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/mix_sgnl/include -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/sicl/include -I/Developer_Xcode_3.0/boost_1_37_0 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.2.build/DerivedSources/i386 -I/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.2.build/DerivedSources -c /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp -o /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/build/xcode_exec_input.build/Debug/xcode_exec_input_6.5.2.build/Objects-normal/i386/exec_input.o
In file included from /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/mix_sgnl/include/adi.h:49,
from /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/mix_sgnl/include/adiUserI.h:5,
from /Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp:22:
/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mcollier/verigy_headers/soc_6.5.0/com/include/machine.h:41:22: error: values.h: No such file or directory
/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp: In function 'void get_TMLimit_TestMode(char*, int, char*, int*, int*)':
/Users/mcollier/Version_Controlled_Checkouts/Subversion_Checkouts/mavericks_test/testprograms/trunk/devices/en251x/Exec_Input/xcode_exec_input/../exec_input.cpp:349: warning: deprecated conversion from string constant to 'char*'
_______________________________________________
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