Re: Bug#148664: g++-3.1: can not compile code with std::assert in it

2002-07-14 Thread Matthias Klose
reassign 148664 glibc thanks Sean Perry writes: > Package: g++-3.1 > Version: 1:3.1-2 > Severity: normal > > in modern C++ the style is: > > #include > std::assert(this_should_be_true); > > however this fails to compile under 3.1 claiming: > > parse error before `static_cast' > > my code is

Re: Bug#148664: g++-3.1: can not compile code with std::assert in it

2002-07-14 Thread Matthias Klose
reassign 148664 glibc thanks Sean Perry writes: > Package: g++-3.1 > Version: 1:3.1-2 > Severity: normal > > in modern C++ the style is: > > #include > std::assert(this_should_be_true); > > however this fails to compile under 3.1 claiming: > > parse error before `static_cast' > > my code is