template error and Jam failed with exit code 1
template error and Jam failed with exit code 1
- Subject: template error and Jam failed with exit code 1
- From: "Abin Thomas" <email@hidden>
- Date: Thu, 8 Jun 2006 17:27:46 +0530
Hi,
The following code gives compilation error in Xcode 2.2.1 with gcc4
/*
mylist.cpp
*/
template <class Type>
void typename SBList<Type>::Copy(const SBList<Type>&other)
{
//...........
//...........
}
ERRORS
MYList.cpp:7: error: expected unqualified-id before 'const'
MYList.cpp:7: error: expected `)' before 'const'
command/Developer/Private/jam failed with exit code 1
cd /Users/abinthomas/Desktop/testpro
setenv ASCII_OUTPUT_ANNOTATION YES
setenv ENABLE_APPLE_JAM_EXTENSIONS YES
setenv ENABLE_APPLE_JAM_OUTPUT_ANNOTATION YES
setenv GROUP abinthomas
setenv NATIVE_ARCH ppc
setenv USER abinthomas
/Developer/Private/jam -d1 -j1
JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
JAMFILE=/Users/abinthomas/Desktop/testpro/build/testpro.build/Development/testpro.build/testpro.jam
build ACTION=build _DEFAULT_GCC_VERSION=4.0 GCC_VERSION_IDENTIFIER=4_0
CONFIGURATION=Development BUILD_STYLE=Development
CPP_HEADERMAP_FILE=/Users/abinthomas/Desktop/testpro/build/testpro.build/Development/testpro.build/testpro.hmap
CLEAN_PRECOMPS=YES SRCROOT=/Users/abinthomas/Desktop/testpro
OBJROOT=/Users/abinthomas/Desktop/testpro/build
SYMROOT=/Users/abinthomas/Desktop/testpro/build
DSTROOT=/tmp/testpro.dst
this happens every time when i compile.
Does this happen due to any problem in the compiler settings , if so
how can i change that settings.
looking forward for any help :)
Abin
_______________________________________________
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