-Wabi is misdesigned (answers the wrong question)

Mark Mitchell mark@codesourcery.com
Fri Oct 24 19:10:00 GMT 2003


On Wed, 2003-10-22 at 09:37, Joe Buck wrote:
> I think that -Wabi as currently implemented is useless.

I agree.  That's why I resisted adding it in the first place!

> The picture I had in mind when we first talked about it was this:
> if -Wabi is on, we would compute the layout of a class using the
> 3.2 algorithm and the ABI-compliant (modulo unknown bugs) algorithm,
> and object iff there is a difference.

That's not feasible without *major* work on the C++ front end itself.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC



More information about the Gcc mailing list