Bug#362840: fails to compare reverse map iterators

2006-04-15 Thread Wichert Akkerman
Package: g++-4.0 Version: 4.0.3-1 Severity: normal The code below is correct but does not compile with g++ 4.0: #include typedef std::map answers_type; answers_typeanswers; void func() { for (answers_type::const_reverse_iterator ai=answers.rbegin(); ai

Bug#294560: ICE on array initialization

2005-02-10 Thread Wichert Akkerman
Package: g++-3.3 Version: 1:3.3.5-8 Severity: normal This works correctly in both 3.2 and 3.4. The behaviour seems to correspond with bug #276291 but since that does not include a source snippet I can not compare it. g++ 3.3 gives me: > g++ test.cc -o test > test.cc: In member function `Ke

Bug#101371: g++ output

2001-06-18 Thread Wichert Akkerman
[fog;/tmp]-4> g++-3.0 -o z z.C /usr/include/g++-v3/bits/stl_construct.h: In function `void std::_Construct(_T1*, const _T2&) [with _T1 = std::auto_ptr, _T2 = std::auto_ptr]': /usr/include/g++-v3/bits/stl_list.h:240: instantiated from `std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_creat

Bug#101371: error in auto_ptr implementation

2001-06-18 Thread Wichert Akkerman
Package: g++-3.0 Version: 1:3.0-0pre010613 Severity: normal Tags: sid The code below does not compile with g++ 3.0, but it seems correct judging by my C++ books. Wichert. #include #include using namespace std; int main(int, char**) { auto_ptr api(new int(5)); list > lapi; lapi.push_back(

Bug#101346: refuses to compile a simple source

2001-06-18 Thread Wichert Akkerman
Package: g++-3.0 Version: 1:3.0-0pre010613 Severity: important Tags: sid This is midly annoying: > g++-3.0 -o xxx xxx.C /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exist status This is the xxx.C source: --

Re: new gcc-2.95 packages

2001-05-04 Thread Wichert Akkerman
Previously Matthias Klose wrote: > it's strange that calling dh_gencontrol directly, correctly generates > the Architecture fields. Does dh_gencontrol / dpkg-gencontrol depend > on some environment? dpkg-gencontrol does not. Wichert. -- ___