Nick Kew wrote:
On Tuesday 09 August 2005 20:14, Garrett Rooney wrote:


If you're adding a member to a struct that's defined in a public header
file, how is that maintaining binary compatibility?  The size of the
structure has changed, so anyone depending on that size is now broken.


This is a struct that's only ever instantiated by a driver module.
I don't see a scenario where something could legitimately break on it.

If it's only ever going to be instantiated by a driver module why are you putting the definition in a public header file?

Anyway, as I said, a placeholder now fixes that.

Sure, that's one way around the problem, or you could move it out of the public header entirely via a variety of mechanisms.

-garrett

Reply via email to