This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another new-parser problem? (libstdc++)
On Fri, Jan 17, 2003 at 11:26:29AM +0100, Richard Guenther wrote:
> Hi!
>
> Does the following look familiar to anyone? (with todays mainline)
>
> /home/rguenth/ix86/gcc3.4/include/c++/3.4/bits/stl_vector.h: In
> instantiation of `std::_Vector_alloc_base<Observer<T*>*, std::allocator<Observer<T*>*>,
> std::_Alloc_traits<Observer<T*>*, std::allocator<Observer<T*>*> >::_S_instanceless>':
> /net/bellatrix/home/rguenth/src/pooma-bugfixes/r2/src/Utilities/Observable.h:236:
> instantiated from `std::_Vector_base<Observer<T*>*, std::allocator<Observer<T*>*> >'
> /net/bellatrix/home/rguenth/src/pooma-bugfixes/r2/src/Utilities/Observable.h:236:
> instantiated from `std::vector<Observer<T*>*, std::allocator<Observer<T*>*> >'
> /net/bellatrix/home/rguenth/src/pooma-bugfixes/r2/src/Utilities/Observable.h:236:
> instantiated from `Observable<T*>'
> /net/bellatrix/home/rguenth/src/pooma-bugfixes/r2/src/Engine/CompressibleBlock.h:742:
> instantiated from here
> /home/rguenth/ix86/gcc3.4/include/c++/3.4/bits/stl_vector.h:91: error: `
> std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_data_allocator'
> has incomplete type
> /home/rguenth/ix86/gcc3.4/include/c++/3.4/bits/stl_vector.h:91: confused
> by earlier errors, bailing out
I don't see that, but I'm getting compiler segfaults during the normal build.
Going into the library builddir and running 'make' works (it doesn't pass
-O2 in this case).
> I did look at the stl_vector.h part and the _Alloc_traits template, but
> nothing obvious seems to be wrong...
I'm guessing some possible fallout from the removal of the implicit typename
extension... I've seen some odd errors in the last 48 hours about lookups
of base members.
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002