Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


.mm files are objective-C specific header files. I would convert them to c++

Er, no.  .mm is the conventional extension for Objective-C++ source
files. (Plain Objective-C files have the conventional extension .m,
and Objective-C headers the extension .h.) This is documented in "man
gcc" even, at least on MacOSX.

And as these source files contain Objective-C(++) syntax in addition
to C++, and include Objective-C headers, how would you "convert" them
to C++?

(Objective-C++ is just C++ code that also happens to contain
Objective-C, too. It is not as weird as the name first sounds.)

since mac now supports c++ based apps.

Don't know what you mean by this... Most of the GUI and other
Mac-specific APIs are declared as Objective-C classes and interfaces
in the various framework headers as far as I know. No C++ bindings
there. Or do you have some concrete counter-example?

--tml

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.