Re: CodeWarrior to XCode (again)
Re: CodeWarrior to XCode (again)
- Subject: Re: CodeWarrior to XCode (again)
- From: "Roni Music" <email@hidden>
- Date: Tue, 21 Jun 2005 16:06:13 +0200
> Can you file a bug with a simple test case? What you are describing
> should work (as long as you add back both the .cpp and the .h file).
I found out that the problem was that several files were added into more than one group
when importing the project. So when I changed locations of the files, there were still references to the header files
in other groups that pointed to the old location. When removing all duplicated files, all seems to work fine.
They were not duplicated in my old CodeWarrior projects, some something didn't work out 100% during importing.
Now I have another problem (when will this stop?):
I have imported another CodeWarrior project into XCode 2.1
It's a Cocoa app with lots of C++ classes and it builds fine when using SDK 10.3.9 with gcc 3.3
but as soon as I try to use the 10.4 SDK I get lots of errors (with gcc 3.3 or 4.0):
"error: template with C linkage"
The Obj-C file that generates the error includes C++ header files that includes other
header files as:
<vector>
<list>
from the C++ library.
It seems some files gets compiled as C files even though I have set
"Compile Sources as" to Objective-C++
and the obj-c files has .mm as file prefix
and the file type is "sourcecode.cpp.objcpp"
etc, etc.
HELP!
Too many days without success,
Thanks for any help
Rolf Nilsson
>
> Scott
>
> On Jun 18, 2005, at 5:26 AM, Roni Music wrote:
>
> >
> >
> > I have imported a CW project into Xcode 2.1.
> >
> > After some tweaking it now builds fine.
> >
> > My computer is setup like this (I have three volumes if that
> > matters?):
> >
> > All source code and my library source code files are on the first
> > volume (HD1)
> >
> > Tiger and XCode is on another volume (HD3)
> >
> >
> >
> > Here's a problem:
> >
> > If I remove a file pair (.cpp and .h files) from a "group" in the
> > project,
> >
> > then move the files to a new folder,
> >
> > then add them back to the project but into another "group",
> >
> > my other files in the project can't find the header file.
> >
> > But the other header files in the same folder are found.
> >
> > And here is the strange thing:
> >
> > 1. Delete the newly added file pair from the project
> >
> > 2. Rename them into something else
> >
> > 3. Add them back into the project (in the new/same group)
> >
> > Now the other files in the project finds them.
> >
> > If this is not a bug in XCode, what am I doing wrong?
> >
> > Thanks for any help,
> >
> > Rolf
_______________________________________________
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