DMD 1.018 and 2.002 releases

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Sun Jul 1 12:38:21 PDT 2007


Christian Kamm wrote:
>> Just bug fixes common to both.
> 
> Great news! And special thanks for fixing bug 540...
> 
> Unfortunately, this code (which appears in derelict) broke
> 
> -
> version(Windows)
>   extern(Windows):
> else
>   extern(C):
> 
> Declaration expected, not 'else'
> -

Workaround:
---
version(Windows) {
   extern(Windows):
} else {
   extern(C):
}
---

> Looking around in the spec, I can not find where the StorageClass: syntax is
> defined, [snip]

http://www.digitalmars.com/d/attribute.html



More information about the Digitalmars-d-announce mailing list