------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-10 
03:33 -------
Huh?  unused paramaters are still need to be able to compile and be accessible.

If that compiler handles this code, well that compiler has a bug in it.

ICC gives the following warning though (but note it says allowed for 
compatiblity):
t.cc(9): warning #525: type "A::A" is an inaccessible type (allowed for 
compatibility)


The point is A is inaccessible in the class C because it is interjected into B. 
 If you want to use the global 
class A, use ::A and that works.

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


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

Reply via email to