This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]