• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XCode see the files, compiling doesn't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode see the files, compiling doesn't


  • Subject: XCode see the files, compiling doesn't
  • From: Todd <email@hidden>
  • Date: Fri, 25 Mar 2011 14:38:22 -0700

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

  • Follow-Ups:
    • Re: XCode see the files, compiling doesn't
      • From: "Frederick C. Lee" <email@hidden>
  • Prev by Date: Re: How to get warnings for missing methods in older SDKs
  • Next by Date: Re: Shark not working with XCode 3.2.6?
  • Previous by thread: Subversion commands issued by xcode 4 ?
  • Next by thread: Re: XCode see the files, compiling doesn't
  • Index(es):
    • Date
    • Thread