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