Am 18.09.2011, 18:55 Uhr, schrieb Ellery Newcomer <ellery-newco...@utulsa.edu>:

Just came across some old D code that does this:

version(linux){
        extern(C):
}

<Hundreds of OpenGL decls>



in dmd 2.055, the extern(C) is not being applied to the OpenGL decls.
should it?

Walter once said it was deliberate.
That extern(C) is only valid inside the version block.
But I also think it should be the other way around.

Reply via email to