On Aug 8, 2006, at 9:13 AM, Jonathan Johnson wrote:
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.
Understood,
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.
So how should this then be settled? Everybody who will be linking against the Win32 SDK that came with CW 9.2 should un-typedef these 3 structs in the plugin SDK, like I did?
Alfred _______________________________________________ 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>
