everest% CC main2.C "main2.C", line 22: error(1242): base class "Base" is inaccessible foo1(P) ; ^ "main2.C", line 24: error(1242): base class "Base" is inaccessible foo2(&P) ; ^ 2 errors detected in the compilation of "main2.C". everest%