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


Paolo Carlini wrote:

I'm lost. Perhaps an #include guard is missing somewhere? I have no clue...

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 (...);
 }


template<typename _Tp>
struct __is_pod
{
enum
{
_M_type = (sizeof(__gnu_internal::__test_type<_Tp>(0)) != sizeof(__gnu_internal::__one))
};
};


Paolo.


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