This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36363] New: set_union and _GLIBCXX_DEBUG does not compile
- From: "joerg dot richter at pdv-fs dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2008 07:46:00 -0000
- Subject: [Bug libstdc++/36363] New: set_union and _GLIBCXX_DEBUG does not compile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
#include <algorithm>
#include <vector>
using namespace std;
int main( int, char** )
{
vector<int> v1;
vector<int> v2;
vector<int> v3;
set_union( v1.begin(), v1.end(), v2.begin(), v2.end(), v3.begin() );
return 0;
}
$ g++ -o t t.cc -D_GLIBCXX_DEBUG
...
debug/functions.h:317: error: no matching function for call to
__check_sorted_set_aux()
...
--
Summary: set_union and _GLIBCXX_DEBUG does not compile
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joerg dot richter at pdv-fs dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36363