Re: using std... namespace std

2000-03-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | The real question is 'why?'. Although I can see how some things other | gcc 2.8 shortcoming may be bad and force a bad programming style, | those using statements are really not a big pain... To have the global namespace clean. You don't introdu

Re: using std... namespace std

2000-03-28 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Ok... note that you are the only cause why I still (kindo want Lars> to) support gcc 2.8.x. Thanks for being so good to me :) Lars> That is the problem, we want to get rid of the using statements. The real question is 'why?'

Re: using std... namespace std

2000-03-28 Thread Lars Gullik Bjønnes
"Michael S. Tsirkin" <[EMAIL PROTECTED]> writes: | Hello! | Sorry if this was proposed before: | std:: can be used with older g++ versions, I think if you add | -Dstd= to the command line, or otherwise define std to the empty macro. | It also works for other compilers. | Could this be a solution?

Re: using std... namespace std

2000-03-28 Thread Michael S. Tsirkin
ot;Re: using std... namespace std": > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > | This does not work with gcc 2.8.1 (as you might have guessed), but > | does work with cxx and probably with sun CC 5.0 (which does not > | compile out of the box yet). > > Ok...

Re: using std... namespace std

2000-03-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | This does not work with gcc 2.8.1 (as you might have guessed), but | does work with cxx and probably with sun CC 5.0 (which does not | compile out of the box yet). Ok... note that you are the only cause why I still (kindo want to) support gcc 2.

Re: using std... namespace std

2000-03-27 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Angus Leeming <[EMAIL PROTECTED]> writes: | This works fine on Lars> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 | release) Lars> Now, I wonder about gcc 2.8.x... (and sun and dec) This does not work with gcc 2.8.1 (as you

Re: using std... namespace std

2000-03-24 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | This works fine on gcc version egcs-2.91.66 19990314 (egcs-1.1.2 | release) Now, I wonder about gcc 2.8.x... (and sun and dec) Lgb

Re: using std... namespace std

2000-03-24 Thread Angus Leeming
This works fine on gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) Angus On Fri, 24 Mar 2000, you wrote: > What compilers that we support do _not_ allow: > > > std::vector > > and require that we use > > using std::vector; > vector; > > small test program: > > #include > > int mai

using std... namespace std

2000-03-24 Thread Lars Gullik Bjønnes
What compilers that we support do _not_ allow: std::vector and require that we use using std::vector; vector; small test program: #include int main() { std::vector vec; vec.push_back(1); return 0; } Lgb