My suggestion: All common and win32 KWQ C++ code should use .cpp instead of .mm, this makes it alot easier to work with on Win32 (I don't know about other platforms, but Visual C++ automatically knows the .cpp and .cxx extensions, but has no idea what the heck .mm is)
Anything with the the extension .mm would contain some amount of C++ and ObjC, these are Objective-C++ files and are used to bridge between the two languages. I doubt much of the code in these files is portable. — Timothy Hatcher » colloquy.info On Jun 30, 2005, at 11:52 PM, Justin Haygood wrote:
My suggestion:
All common and win32 KWQ C++ code should use .cpp instead of .mm, this makes it alot easier to work with on Win32 (I don't know about other platforms, but Visual C++ automatically knows the .cpp and .cxx extensions, but has no idea what the heck .mm is) _______________________________________________ webkit-dev mailing list webkit-dev@opendarwin.org http://www.opendarwin.org/mailman/listinfo/webkit-dev
On Jun 30, 2005, at 9:04 PM, Timothy Hatcher wrote:
Anything with the the extension .mm would contain some amount of C+ + and ObjC, these are Objective-C++ files and are used to bridge between the two languages. I doubt much of the code in these files is portable.
Actually, a number of the .mm files in kwq use no Objective-C at all (or just a trivial amount in functions to convert to/from ObjC types). They should indeed be renamed to .cpp. Regards, Maciej
Best to do after the conversion to subversion... -eric On Jun 30, 2005, at 10:52 PM, Maciej Stachowiak wrote:
On Jun 30, 2005, at 9:04 PM, Timothy Hatcher wrote:
Anything with the the extension .mm would contain some amount of C+ + and ObjC, these are Objective-C++ files and are used to bridge between the two languages. I doubt much of the code in these files is portable.
Actually, a number of the .mm files in kwq use no Objective-C at all (or just a trivial amount in functions to convert to/from ObjC types). They should indeed be renamed to .cpp.
Regards, Maciej
_______________________________________________ webkit-dev mailing list webkit-dev@opendarwin.org http://www.opendarwin.org/mailman/listinfo/webkit-dev
On Jun 30, 2005, at 11:58 PM, Eric Seidel wrote:
Best to do after the conversion to subversion...
I don't agree. While it's great that Subversion has a "rename file" command, I do not want to hold off on these sorts of changes until after Subversion, especially since we don't have any concrete plans to move to Subversion yet. We've renamed hundreds of files during the lifetime of the WebKit project, and we should feel free to continue to do that when appropriate. -- Darin
participants (5)
-
Darin Adler
-
Eric Seidel
-
Justin Haygood
-
Maciej Stachowiak
-
Timothy Hatcher