I am cleaning up code from another programmer who is long gone.
He created a bunch of "shared" files that have a .inc extension.
In XCode, these files exist, I can reveal in Finder, etc.
When I do an Include "file.inc" they cannot be found when compiling.
In XCode I set these file types to be sourcecode.cpp
the .inc files are in the target for the app.
These .inc files are template declarations like:
#include "incheader.h"
template <class listClass,class itemClass>
void FxStreamingObjectList<listClass,itemClass>::StreamOut(FxStream *stream)
{
if (listClass::size())
{
stream->PutSeparator();
stream->PutString(mFieldName.c_str());
stream->PutSeparator();
stream->PutBeginList();
stream->Indent(+1);
for (listClass::iterator iter=listClass::begin(); iter != listClass::end(); iter++)
{
stream->PutSeparator();
stream->PutString( (*iter)->GetClassID() );
// if (iter != listClass::begin())
// {
// stream->PutListSeparator();
// }
(*iter)->StreamOut(stream);
}
stream->Indent(-1);
stream->PutSeparator();
stream->PutEndList();
stream->PutSeparator();
}
}
What is going wrong here? Why can these .inc files not be seen?
-J
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