[MOAB-dev] buildbot failure in moab-shared: failed test

Steve Jackson sjackson at cae.wisc.edu
Thu Jun 16 12:17:26 CDT 2011


I still get similar ambiguity when compiling range_test.cpp, even after r5015.  So make check is still broken for me.  The errors I get have this form: 

../../../code/test/range_test.cpp: In function ‘void erase_test()’:
../../../code/test/range_test.cpp:287: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [3], const char [14], int, const char [34])’ is ambiguous
../../../code/test/TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
../../../code/test/TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
../../../code/test/TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
../../../code/test/TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)

This error seems to apply to all the CHECK_EQUAL calls in the erase_test() function.  

I am using gcc 4.3.2.
~S


On Jun 16, 2011, at 0:56 , moab-dev at mcs.anl.gov wrote:

> Fathom: moab-shared build #488
> 
> Results:	failed test
> Buildslave:	gnep
> Revision:	None
> Log Excerpt
> 
> range_test.cpp:387: error: call of overloaded ‘check_equal(unsigned int, moab::EntityHandle, const char [3], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:396: error: call of overloaded ‘check_equal(unsigned int, moab::EntityHandle, const char [3], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:404: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [3], const char [14], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:405: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [4], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:406: error: call of overloaded ‘check_equal(unsigned int, moab::EntityHandle, const char [4], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:407: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [3], const char [8], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:431: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [3], const char [14], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:432: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [4], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:433: error: call of overloaded ‘check_equal(unsigned int, moab::EntityHandle, const char [4], const char [13], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)
> range_test.cpp:437: error: call of overloaded ‘check_equal(unsigned int, const long unsigned int&, const char [4], const char [8], int, const char [15])’ is ambiguous
> TestUtil.hpp:354: note: candidates are: void check_equal(int, int, const char*, const char*, int, const char*)
> TestUtil.hpp:357: note:                 void check_equal(unsigned int, unsigned int, const char*, const char*, int, const char*)
> TestUtil.hpp:360: note:                 void check_equal(long int, long int, const char*, const char*, int, const char*)
> TestUtil.hpp:363: note:                 void check_equal(long unsigned int, long unsigned int, const char*, const char*, int, const char*)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20110616/ab5f2a3e/attachment.htm>


More information about the moab-dev mailing list