Bug#112910: g++: [arm] fails to compile aptitude >= 0.2.6
On Thu, Sep 20, 2001 at 02:51:34PM +0100, Phil Blundell <pb@nexus.co.uk> was heard to say:
> > I have attached the file in question, but I don't know if that will be
> >enough information. Since I don't have an arm system, as I said above,
> >finding a workaround will be difficult unless upstream knows one.
>
> You need to supply a self-contained testcase, not just the particular header
> file in question. Assuming you have a Debian LDAP account you should be able
> to use debussy for testing.
Yeah, I know :(
I managed to track some more stuff down, but not enough to make a proper
bugreport:
- the bug only appears when compiling with optimization on. (and maybe
with -g as well; I'll check that)
- it is only triggered if I #include apt-pkg/pkgcache.h BEFORE
the internal file pkg_hier.h. If I reverse the order of those includes,
compilation proceeds without problems. (I will probably use this as
a workaround, which unfortunately means my motivation for solving this
versus doing my coursework is going to go way down :( )
Daniel
--
/-------------------- Daniel Burrows <dburrows@brown.edu> --------------------\
| "I've struggled with reality for thirty-five years, |
| but I'm glad to say that I finally won." |
| -- _Harvey_ |
\---- News without the $$ -- National Public Radio -- http://www.npr.org ----/
Reply to: