compile fails on hypot

Benjamin Kosnik bkoz@redhat.com
Wed Nov 1 23:54:00 GMT 2000


 
I must admit to not paying attention to the shadow header builds right now.

>This is the result of a gcc 'feature'.  Currently, if you are going to use 
>the shadow headers, you need to compile with -fno-builtin.

Really? I thought Jason fixed this last week.


> The remaining errors are a result of a bit of a problem in the 
>installation; the shadow headers need the shadowing version of libio.h 
>installed (the one that #include's bits/wrap_libio.h), but instead get the 
>real (non-shadowed) libio.h, since they both live at the same level in the 
>include heirachy.

Eeek. It looks like I put in install routines for the shadow headers
themselves: things like time.h and libio.h (from c_std) get installed
on top of the "real" headers. 

This is wrong, and should be fixed.

As part of this fix, perhaps the shadow headers could be installed in
a correct place, ie not include/g++-v3?

-benjamin


More information about the Libstdc++ mailing list