[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#230159: libapt-pkg-dev: headers contain broken inlines



On Thu, Jan 29, 2004 at 06:02:58PM +0100, Filip Van Raemdonck wrote:

> On Wed, Jan 28, 2004 at 11:45:08PM -0700, Jason Gunthorpe wrote:
> > 
> > On Wed, 28 Jan 2004, Matt Zimmerman wrote:
> > 
> > > Even with optimization turned off, or only with optimization turned off?  It
> > > certainly works fine in apt itself, but this might be because it uses
> > > optimization.
> 
> Nope, it's because that only uses DepIterator.TargetVer(), not
> PkgIterator.TargetVer().
> 
> > TargetVer is obsolete. The thing it used to refer to was removed a long
> > time ago, the prototype should also be removed.
> 
> What about putting everything which is deprecated inside ifdefs in apt
> 0.6 headers, defaulting to be left out?
> 
> (as this one is already unusable, and hasn't caused problems sofar, it
> should just be removed right away)

They should either be left out, or implemented (from Jason's comments it
sounds like they should be left out).  Those #ifdefs would result in
different ABIs.

-- 
 - mdz



Reply to: