Re: Including files in for compile with different extension?
Re: Including files in for compile with different extension?
- Subject: Re: Including files in for compile with different extension?
- From: Luther Baker <email@hidden>
- Date: Wed, 23 Mar 2011 17:21:57 -0500
I was on a team that used ".inl" files to designate "inline" ... especially for C++ templates. (.h, .inl, .cpp)
In our case, inline implementations (STL templates, etc) such as these had to be on the "include" path. They did not get compiled to object code and consequently had to be explicitly included from the footer of the .h files.
That was 5 years ago ... maybe template programming has changed - and I'm not exactly sure if this applies to you - but one approach would be to explicitly #include the oddly named files from the footer of the *.h files they are related to.
-Luther
On Wed, Mar 23, 2011 at 4:52 PM, Todd
<email@hidden> wrote:
I am looking at an old Metrowerks app that is moving to XCode and the previous developer created a number of files that are given the extension of .int.
I think he did this since it appears he does an "include "
file_name.int" inline in code to share the same code among multiple classes. It seems mostly tempalte type code.
I don't think XCode can bring in these .int files since the errors I am seeing lead me to believe that they are either not being found (but they are not red in the file listing) or XCode chokes and simply ignores it.
Is there a better extension to try for these files? Obviously the answer is re-write, but right this second I need to do a proof of concept quick like.
I thought that GCC could take any extension and bring it on...but I am not sure.
thoughts?
-T
_______________________________________________
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
_______________________________________________
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