Really weird build problem: please help

Paolo Carlini pcarlini@suse.de
Mon Jun 28 17:37:00 GMT 2004


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.



More information about the Libstdc++ mailing list