On Jul 1, 2012, at 3:44 PM, Joe Ranieri <[email protected]> wrote:

> You can make your files Objective-C++ by changing the extension to 'mm' or
> by changing the file type in Xcode's inspector. Using the flat C headers is
> only required if you refuse to use C++ at all.

First of all all our plugin targets use the flat plugin SDK. We call functions 
of our static c++ libs from our plugin implementation file(s). We refuse the 
C++ plugin SDK for all of our platform targets, that is correct. This may not 
be necessary anymore (or was never necessary), but years ago it was an apparent 
must for Cocoa. I don't have the older versions of the SDK to proof the point. 
Currently, the SDK documentation contains a file Cocoa Plugins.txt, where the 
FLAT PLUGIN HEADERS flag is mentioned under "creating a prefix header for 
cocoa". That seems to be deceiving, and admittently leads to wrong 
interpretation from our point of view. We simply use it for all targets to have 
one code base, and it works.

If you are going to change this, then more work we need to do because we need 
to rename many plugin-API calls to allow proper compilation. Also, we use mm 
extensions together with the flat SDK, so it is not a simple changing of the 
file type to make the adaptation.


- Alfred Van Hoek
[email protected]

[email protected]
http://vanhoekplugins.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to