What steps will reproduce the problem?
1. Get the source code from SVN r139
2. Compiler using VC2005 SP1 x64 32bit cross compiler
3. Compile error
What is the expected output? What do you see instead?
Compile successful and run test no problem
What version of the product are you using? On what operating system?
r139, XP sp2, VC2005 sp1, 32bit x64 cross compiler
Please provide any additional information below.
It compiles successfully against amop-0.31.3
The error message is:
f:\foo_project\3rd_party\amop\amop\include\Functor.h(49) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(void)>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(22) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(void)>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(58) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(void) const>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(32) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(void) const>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(98) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1)>' : class template has already
been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(83) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1)>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(98) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1) const>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(83) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1) const>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(99) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1,T2)>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(84) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1,T2)>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(99) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1,T2) const>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(84) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1,T2) const>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(100) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3)>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(85) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3)>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(100) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3) const>' : class template
has already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(85) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3) const>'
f:\foo_project\3rd_party\amop\amop\include\Functor.h(101) : error C2953:
'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3,T4)>' : class template has
already been defined
f:\foo_project\3rd_party\amop\amop\include\Functor.h(86) : see
declaration of 'amop::detail::Functor<R(__cdecl C::* )(T1,T2,T3,T4)>'
.........
Original issue reported on code.google.com by zhuo.qi...@gmail.com on 24 Dec 2008 at 7:28
Original issue reported on code.google.com by
zhuo.qi...@gmail.com
on 24 Dec 2008 at 7:28