[Bug c++/37047] Missing warning for deprecated use of static

2008-08-22 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-23 04:02 --- (In reply to comment #4) > (In reply to comment #3) > > Where is the namespace scope in the example? > > From the standard, 3.3.5p3: > > The outermost declarative region of a translation unit is > also a namespace

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-22 Thread gcc-bugzilla at contacts dot eelis dot net
--- Comment #4 from gcc-bugzilla at contacts dot eelis dot net 2008-08-23 02:58 --- (In reply to comment #3) > Where is the namespace scope in the example? >From the standard, 3.3.5p3: The outermost declarative region of a translation unit is also a namespace, called the global na

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-22 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-23 02:48 --- Where is the namespace scope in the example? -- manu at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-13 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2008-08-13 16:31 --- (In reply to comment #1) > I don't think this is a good warning really as static is used all over the > place. In system headers and really in almost all C++ code in general. The key is the phrase "...in a namespace sc

[Bug c++/37047] Missing warning for deprecated use of static

2008-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-10 23:36 --- I don't think this is a good warning really as static is used all over the place. In system headers and really in almost all C++ code in general. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37047