does gdc recognize @nogc?

Iain Buclaw via D.gnu d.gnu at puremagic.com
Mon Apr 27 06:43:11 PDT 2015


On 27 April 2015 at 15:15, drug via D.gnu <d.gnu at puremagic.com> wrote:
> I download gdc from official gdc downloading page but it give me error
> compiling this code:
> ```
> class Foo
> {
>     this(long timestamp) nothrow @nogc
>     {
>         ...
>     }
> }
> ```
> the error message is
> ```
> error: user defined attributes cannot appear as postfixes
> ```
> Looks like gdc doesn't know what @nogc means and treats it as an user
> defined attribute.

Did you not get 2.066.1?

http://gdcproject.org/downloads


More information about the D.gnu mailing list