stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: Conflicting identifiers
Date Thu, 10 Jul 2008 00:40:41 GMT
Eric Lemings wrote:
> Getting the following compile error due to conflicting __rw_is_same
> identifiers:

Right. We need to either rename one of them, or get rid
of <rw/_select.h> and start using the new traits instead.
Until the type traits implementation is ported to all
platforms I've opted for the former approach in r675390.

Martin

> 
> gcc -c -I/work/stdcxx/branches/4.3.x/include/ansi -D_RWSTDDEBUG
> -pthread -I/work/stdcxx/branches/4.3.x/include
> -I/build/stdcxx-4.3.x-15D/include
> -I/work/stdcxx/branches/4.3.x/tests/include  -pedantic -nostdinc++
> -std=gnu++0x -D_RWSTD_EXT_CXX_0X -g   -W -Wall -Wcast-qual -Winline
> -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align
> /work/stdcxx/branches/4.3.x/tests/utilities/20.tuple.cnstr.cpp
> In file included from /work/stdcxx/branches/4.3.x/include/string:42,
>                  from
> /work/stdcxx/branches/4.3.x/tests/utilities/20.tuple.cnstr.cpp:417:
> /work/stdcxx/branches/4.3.x/include/rw/_select.h:103: error:
> redefinition of 'struct __rw::__rw_is_same<_TypeT, _TypeU>'
> /work/stdcxx/branches/4.3.x/include/rw/_meta_rel.h:52: error: previous
> definition of 'struct __rw::__rw_is_same<_TypeT, _TypeU>'
> /work/stdcxx/branches/4.3.x/include/rw/_select.h:110: error:
> redefinition of 'struct __rw::__rw_is_same<_TypeT, _TypeT>'
> /work/stdcxx/branches/4.3.x/include/rw/_meta_rel.h:57: error: previous
> definition of 'struct __rw::__rw_is_same<_TypeT, _TypeT>'
> make: *** [20.tuple.cnstr.o] Error 1
> 
> Brad.


Mime
View raw message