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
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
[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
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(
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:
--
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.
--
___
6 matches
Mail list logo