Access control + static ctor = bad error message
Jason Merrill
jason@cygnus.com
Wed Feb 23 15:20:00 GMT 2000
>>>>> 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
More information about the Gcc-bugs
mailing list