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]

Re: Access control + static ctor = bad error message


>>>>> Chip Salzenberg <chip@valinux.com> writes:

 >   priv.cc: In function `void __static_initialization_and_destruction_0
 >   priv.cc: (int, int)':
 >   priv.cc:1: `B::B (int)' is private
 >   priv.cc:2: within this context

 > I should think that "In function `void __static_init...'" should be
 > prettyprinted as "In static initialization".  If that's OK, I'll make
 > a patch.

Sounds good.

Jason

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