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++/29365] Unnecessary anonymous namespace warnings



------- Comment #5 from jason at gcc dot gnu dot org  2006-10-06 21:00 -------
Yes, sorry, I should have said if foo::bar is used in multiple TUs, rather than
foo itself.  If foo::bar is defined in only one TU, and is used as an opaque
type in other TUs, you're fine.

Perhaps we should suppress this warning in the main input file.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29365


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