Does this compile?

View: New views
2 Messages — Rating Filter:   Alert me  

Does this compile?

by Eric Lemings-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Does this compile?

by Martin Sebor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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>’
LightInTheBox - Buy quality products at wholesale price!