[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog libbase/tu_math.h
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog libbase/tu_math.h |
Date: |
Sat, 10 Feb 2007 19:17:02 +0100 |
On Sat, Feb 10, 2007 at 05:07:09PM +0000, Markus Gothe wrote:
> CVSROOT: /sources/gnash
> Module name: gnash
> Changes by: Markus Gothe <nihilus> 07/02/10 17:07:09
>
> Modified files:
> . : ChangeLog
> libbase : tu_math.h
>
> Log message:
> using namespace std;
This introduced the problem Udo reported in the list, as
'filebuf' is also defined in std::.
Try avoiding too broad 'using namespace' directives.
Better fully qualifying std:: things, or put 'using' directives
inside functions if you really want to type less.
Consider also using std::<what> to restrict pollution.
--strk;