[Ad-dev] [openAD] #203: no match for 'operator!=' in 'pushedAddVarPrI ....

OpenAD trac at mcs.anl.gov
Fri Jan 15 00:35:38 CST 2010


#203: no match for 'operator!=' in 'pushedAddVarPrI  ....
-------------------------+--------------------------------------------------
 Reporter:  utke         |       Owner:  utke
     Type:  defect       |      Status:  new 
 Priority:  major        |   Milestone:      
Component:  xaifBooster  |    Keywords:      
-------------------------+--------------------------------------------------
 compiler versions 3.4.6 and 4.0.1 report (incorrectly) the following
 error:
 BasicBlockAlg.cpp: In member function `virtual void
 xaifBoosterBasicBlockPreaccumulationTapeAdjoint::BasicBlockAlg::algorithm_action_5()':
 BasicBlockAlg.cpp:264: error: no match for 'operator!=' in
 'pushedAddVarPrI != std::list<_Tp, _Alloc>::rend() [with _Tp = const
 xaifBooster::Variable*, _Alloc = std::allocator<const
 xaifBooster::Variable*>]()'
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:154:
 note: candidates are: bool boost::operator!=(const
 boost::serialization::version_type&, const
 boost::serialization::version_type&)
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:148:
 note:                 bool boost::operator!=(const
 boost::serialization::version_type&, const unsigned int&)
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:147:
 note:                 bool boost::operator!=(const unsigned int&, const
 boost::serialization::version_type&)
 BasicBlockAlg.cpp:275: error: no match for 'operator!=' in
 'pushedFacVarPrI != std::list<_Tp, _Alloc>::rend() [with _Tp = const
 xaifBooster::Variable*, _Alloc = std::allocator<const
 xaifBooster::Variable*>]()'
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:154:
 note: candidates are: bool boost::operator!=(const
 boost::serialization::version_type&, const
 boost::serialization::version_type&)
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:148:
 note:                 bool boost::operator!=(const
 boost::serialization::version_type&, const unsigned int&)
 /net/weddell/raid3/utke/Argonne/svn/CodeReps/anonymous/OpenAD/boost/boost/operators.hpp:147:
 note:                 bool boost::operator!=(const unsigned int&, const
 boost::serialization::version_type&)
 make[4]: *** [obj/BasicBlockAlg.o] Error 1


 This is caused by a compiler bug and cannot be fixed in the xaifBooster
 code.

-- 
Ticket URL: <https://trac.mcs.anl.gov/projects/openAD/ticket/203>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list