stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: Does this compile?
Date Fri, 27 Jun 2008 20:25:54 GMT
Eric Lemings wrote:
>  
> Anyone else getting compile errors with this?
>  
>     #include <iostream>
>     #include <type_traits>
>  
> Brad.
> 

Looks like the new traits are clashing with the existing __rw_select
template:

In file included from /home/sebor/stdcxx-4.3.x/include/type_traits:43,
                  from u.cpp:2:
/home/sebor/stdcxx-4.3.x/include/rw/_meta_rel.h:44: error: redefinition 
of ‘struct __rw::__rw_is_same<_TypeT, _TypeU>’
/home/sebor/stdcxx-4.3.x/include/rw/_select.h:104: error: previous 
definition of ‘struct __rw::__rw_is_same<_TypeT, _TypeU>’
/home/sebor/stdcxx-4.3.x/include/rw/_meta_rel.h:49: error: redefinition 
of ‘struct __rw::__rw_is_same<_TypeT, _TypeT>’
/home/sebor/stdcxx-4.3.x/include/rw/_select.h:111: error: previous 
definition of ‘struct __rw::__rw_is_same<_TypeT, _TypeT>’

Mime
View raw message