This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Degraded C++ error messages.


On Fri, Nov 07, 2003 at 07:11:34PM +0100, Gabriel Dos Reis wrote:
> Are you saying that
> 
> troep.cc:6: error: request for member `base' in `*(&std::vector<_Tp,
>    _Alloc>::begin() [with _Tp = int, _Alloc =
>    std::allocator<int>]())->__gnu_cxx::__normal_iterator<_Iterator,
>    _Container>::operator->() const [with _Iterator = int*, _Container =
>    std::vector<int, std::allocator<int> >]()', which is of non-aggregate type `
>    int'
> 
> is more readale than
> 
> troep.cc:6: request for member `base' in `*v.vector<int,allocator<int> >::begin()', which is of non-aggregate type `int'
> 
> ?

No, sorry if I misunderstood you.  I think that the error messages
of 2.95.3 were near perfect.  The latter (as given in the above quote)
is definitely better readable.

-- 
Carlo Wood <carlo@alinoe.com>


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