Re: 'class' in .h file
Re: 'class' in .h file
- Subject: Re: 'class' in .h file
- From: Clark Cox <email@hidden>
- Date: Sat, 22 Nov 2003 18:35:58 -0500
No, not the header file, but any objective source files that include it.
On Nov 22, 2003, at 14:52, OL&L Dev 2 wrote:
>
A.mm for a header file?
>
>
This will also break the compile on older versions of CodeWarrior as
>
it maps .h to both C and C++ files and I need to leave it that was so
>
that I can compile it with CodeWarrior's C++ compiler also. This is a
>
.h file that I need to be able to compile on Classic, Carbon, and
>
Cocoa. Why can't the Obj-C compiler handle 'class' in a .h file?
>
>
-m
>
========================
>
>
t 2:34 AM -0800 11/22/03, Troy Dawson wrote:
>
>> Is there something I need to do to allow Cocoa apps or the Obj-C
>
>> compiler to allow 'class' declarations in my .h files?
>
>
>
> enable objective-C++ compilation by either changing the extension to
>
> .mm or explicitly setting the filetype to objcpp in the property
>
> inspector for the .m file.
>
>
>
> this latter may not be available in xcode 1.0...
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.