incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r432723 - /incubator/stdcxx/trunk/src/collate.cpp
Date Sun, 20 Aug 2006 02:52:44 GMT
Farid Zaripov wrote:

>   Martin, after that patch I got compiler (MSVC7.1) error:
> ----------------
> collate.cpp
> c:\Incubator\stdcxx\trunk\src\podarray.cc(48) : error C2995:
> '__rw::__rw_pod_array<_TypeT,_Size>
> &__rw::__rw_pod_array<_TypeT,_Size>::append(const _TypeT
> *,__rw::_SizeT)' : template function has already been defined
>         c:\Incubator\stdcxx\trunk\src\podarray.h(137) : see declaration
> of '__rw::__rw_pod_array<_TypeT,_Size>::append'
> ----------------
> 
>   The reason is double inclusion of the podarray.cc (first included in
> #include "podarray.h",
> the second is explicitly included in collate.cpp).
> 
>   For successful compiling I added #ifndef #define #endif guard to the
> file podarray.cpp,
> but I think should be another solution to resolve this problem.

You're right. I've been testing a patch for this. If all
goes well I'll commit it tomorrow. Sorry about the breakage!

Martin



Mime
View raw message