This is the mail archive of the gcc-patches@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: [libstdc++] Make use of runtime demangler


On Thu, Apr 25, 2002 at 10:18:41PM +0200, Franz Sirl wrote:
> On Monday 01 April 2002 19:12, Mark Mitchell wrote:
> > > 1) Those two files do not build warning-free because in the v3 build,
> > >    -DHAVE_CONFIG_H is not passed (thus the headers for malloc and whatnot
> > >    are not included) because we can't give it the config.h from
> > >    libiberty. I played with building a symlink to libiberty's config.h but I
[...]
> > I believe we need to fix this, or risk problems on platforms where ints
> > and pointers do not have the same size.
> 
> Oops, nearly forgot about this one, I have a patch for this. It's actually a 
> bug in the libstdc++ Makefiles, cause configure generates config.h for 
> libstdc++ too. In trying to pass the DEBUG_FLAGS on the right place in the 
> compile command, $(DEFS) got left out.

Not "left out," but rather "deliberately removed."  The changelog entry is

    2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
    
            Self-compile with shadow headers.
[...]
            * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
            (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
->          (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
->          std or shadow directories.
->          (LTCXXCOMPILE): Same.


The CXXCOMPILE variable itself was removed nine days later.


So, before we start reintroducing any of that, I have to wonder whether the
same problems -- presumably problems with shadow headers -- will still occur.
Probably not a fair question, since so much of our header setup has changed
in the last 18 months.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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