attribute decl in version decl

Trass3r un at known.com
Mon Sep 19 06:37:24 PDT 2011


> Change it to the following, and you're golden.
>
> extern(System):
>
> <Hundreds of OpenGL decls>

That only fixes this particular issue.

I once had the following case that can't be done:

version(V1)
{
	extern(System):
}
else
{
	extern(C):
}


More information about the Digitalmars-d-learn mailing list