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, 22 Oct 2003, Joe Buck wrote:
> > 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.
 
On Thu, Oct 23, 2003 at 01:15:12AM +0200, Michael Matz wrote:
> So, if that's too complicated to implement, we should simply make -Wabi a
> nop (for compat) and in the future abstain from implementing such warning
> (IIRC Mark already was against it in the first hand because it basically
> produced too many false positives.)

It's not too complicated to implement, as the compiler already knows how
to compute both layouts.

However, since the 3.4 libstdc++ has changes it's probably not worth
sweating about.
 


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