This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Really weird build problem: please help
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 28 Jun 2004 18:39:01 +0200
- Subject: Re: Really weird build problem: please help
- References: <40E03EAC.1030405@suse.de>
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.