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)


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


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