This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wabi is misdesigned (answers the wrong question)


In message <1067022652.31435.63.camel@doubledemon.codesourcery.com>, Mark Mitch
ell writes:
 >The other problem is that it's not clear to me that this approach gives
 >you the completely right answer either.  It tells you when something is
 >different -- but not when a chance will result in some derived class
 >being different.  There are actually a fair number of places where 3.2
 >would do the same thing with the base class -- but some follow-on
 >derived class would differ.
That's been a concern as well -- deriving classes from something in our
headers.  The "dump the offsets" idea works great for internal consistency,
but doesn't help when external code derives classes.

[ Though presumably you could run the tester on the external code as well :-) ]



Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]