DMD 1.026 and 2.010 releases
Walter Bright
newshound1 at digitalmars.com
Sun Jan 20 21:22:24 PST 2008
torhu wrote:
> If a variable is declared both private and export, I get 'redundant
> protection attribute' with 2.010. Do private and export really exclude
> each other? It's sometimes useful, although private seem to be ignored
> when you use export. I agree that they are conceptually mutually
> exclusive, but private has limited effect in D, and export only changes
> the name mangling, AFAIK. Just wondering. :)
Yes, they are meant to be mutually exclusive.
More information about the Digitalmars-d-announce
mailing list