You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Eric Lemings <Er...@roguewave.com> on 2008/06/27 20:12:36 UTC

Does this compile?

 
Anyone else getting compile errors with this?
 
    #include <iostream>
    #include <type_traits>
 
Brad.

Re: Does this compile?

Posted by Martin Sebor <se...@roguewave.com>.
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>’