On Thursday, 12 June 2014 at 09:48:30 UTC, Kagamin wrote:
Why private members can't have internal linkage?

tl; dr: because private provides zero guarantees that symbol won't be referenced in ABI context. It only controls direct language level access.

It can possibly be done with analysis of all indirections but effort is not worth the gain.

I think getting --gc-sections working out of the box is more worthy goal ( unfortunately last PR from Martin had no practical effect here :( )

Reply via email to