This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37047] Missing warning for deprecated use of static
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2008 04:02:45 -0000
- Subject: [Bug c++/37047] Missing warning for deprecated use of static
- References: <bug-37047-5473@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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, called the global namespace.
>
Then, I agree with Andrew. static is used all over the place.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37047