On Aug 7, 2006, at 7:39 PM, Alfred Van Hoek wrote:

What is the proper way, academically spoken?

It depends. In C, "struct foo {};" creates a structure type that must be referred to in code as "struct foo". In C++, this is automatically promoted to a typedef of "foo". So, by typedeffing a structure inline as the new type name, it will behave the same in C++ and in C. This change was made to allow the SDK to compile in Objective-C, which is a C superset.

However, the version of the platform headers and CodeWarrior version we're using (which isn't very recent) doesn't have a conflict when compiling our plugins.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to