Re: 'class' in .h file
Re: 'class' in .h file
- Subject: Re: 'class' in .h file
- From: OL&L Dev 2 <email@hidden>
- Date: Sat, 22 Nov 2003 11:52:26 -0800
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.