libstdc++/5146: [cygwin] Failure of test 23_containers/set_operators.cc

David.Billinghurst@riotinto.com David.Billinghurst@riotinto.com
Tue Dec 18 01:41:00 GMT 2001


>Number:         5146
>Category:       libstdc++
>Synopsis:       [cygwin] Failure of test 23_containers/set_operators.cc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 20:46:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        gcc 3.1 2001-12-17
>Organization:
>Environment:
i686-pc-cygwin
>Description:
Test 23_containers/set_operators.cc fails on cygwin.  This may be related to PR libstdc++/5145.

The warning is 

/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc:40: no 
   match for `std::_Rb_tree_iterator<unsigned int, const unsigned int&, const 
   unsigned int*>& != std::_Rb_tree_iterator<std::string, const std::string&, 
   const std::string*>' operator

Full output attached

>How-To-Repeat:
${srcdir}/configure --host=i686-pc-cygwin --enable-threads=posix --disable-libgcj --enable-sjlj-exceptions --with-system-zlib --disable-nls --disable-shared
make
make check
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="d.txt"
Content-Disposition: inline; filename="d.txt"

 /usr/local/obj/gcc/gcc/g++ -B/usr/local/obj/gcc/gcc/ -nostdinc++ -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src -L/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -g -ffunction-sections -fdata-sections -DDEBUG_ASSERT -DLOCALEDIR="/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/po/share/locale" -nostdinc++ -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/usr/local/obj/gcc/i686-pc-cygwin/libstdc++-v3/include -I/usr/local/src/gcc/libstdc++-v3/libsupc++ -I/usr/local/src/gcc/libstdc++-v3/libio -I/usr/local/src/gcc/libstdc++-v3/include/backward -I/usr/local/src/gcc/libstdc++-v3/testsuite /usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc -DDEBUG_ASSERT -S -o set_operators.s 
cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc: In 
   function `int main()':
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc:40: no 
   match for `std::_Rb_tree_iterator<unsigned int, const unsigned int&, const 
   unsigned int*>& != std::_Rb_tree_iterator<std::string, const std::string&, 
   const std::string*>' operator
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc:41: no 
   match for `std::_Rb_tree_iterator<unsigned int, const unsigned int&, const 
   unsigned int*>& == std::_Rb_tree_iterator<std::string, const std::string&, 
   const std::string*>' operator
compiler exited with status 1
output is:
cc1plus.exe: warning: -ffunction-sections may affect debugging on some targets
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc: In 
   function `int main()':
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc:40: no 
   match for `std::_Rb_tree_iterator<unsigned int, const unsigned int&, const 
   unsigned int*>& != std::_Rb_tree_iterator<std::string, const std::string&, 
   const std::string*>' operator
/usr/local/src/gcc/libstdc++-v3/testsuite/23_containers/set_operators.cc:41: no 
   match for `std::_Rb_tree_iterator<unsigned int, const unsigned int&, const 
   unsigned int*>& == std::_Rb_tree_iterator<std::string, const std::string&, 
   const std::string*>' operator

FAIL: 23_containers/set_operators.cc  (test for errors, line 40)
FAIL: 23_containers/set_operators.cc  (test for errors, line 41)



More information about the Gcc-bugs mailing list