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: Really weird build problem: please help


On Mon, 2004-06-28 at 23:54, Paolo Carlini wrote:
> Paolo Carlini wrote:
> 
> > A little bit of progress: ios_init.cc compiles again if I comment out 
> > this part
> > of cpp_type_traits.h:
> >
> >  namespace __gnu_internal
> >  {
> >    typedef char __one;
> >    typedef char __two[2];
> >
> >    template <typename _Tp>
> >    __one __test_type (int _Tp::*);
> >    template <typename _Tp>
> >    __two& __test_type (...);
> >  }
> 
> Ok, I got it: namespace __gnu_internal was opened to add all that helper 
> stuff
> *inside* namespace std! 

I would be the guilty party. Sorry about that :-(


> Indeed, the below fixes the problem. I'm finishing
> regtesting (with the problem-triggering one-liner installed) and will commit
> in case of success (also took the occasion to do some formatting fixes).

-- 
        -Dhruv Matani.
http://www.geocities.com/dhruvbird/

The price of freedom is responsibility, but it's a bargain, because
freedom is priceless. ~ Hugh Downs


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