Something like derelict but for D 2.x and Phobos?
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Sat Nov 3 06:08:01 PDT 2007
Anders F Björklund wrote:
> Bruno Medeiros wrote:
>
>> First, you have some variables named "ref" in OpenGL which doesn't
>> work in D 1.x (unless you use the -v1 switch).
>> Second, and more importantly, you're still using the idiom:
>> version (Windows)
>> extern (Windows):
>> else
>> extern (C):
>> Which no longer works in D1.x.
>
> I updated the code to use "ref_" and removed all extern(Windows) legacy.
> (Probably requires MinGW to build, but it could be considered a feature)
>
> "Still using" is relative, the code was from 2005 and used to work then.
> Tested OK now on Mac OS X 10.4 with GDC 0.24 (~ DMD 1.020), at least...
>
> --anders
There must be some issue with GDC then, because that simply does not
compile with, for example, either DMD 1.018 or DMD 1.023.
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d-learn
mailing list