DMD 1.026 and 2.010 releases

torhu no at spam.invalid
Sun Jan 20 17:33:13 PST 2008


Walter Bright wrote:
> bug fixing
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
> 
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip

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. :)


More information about the Digitalmars-d-announce mailing list