Building phobos GDC

Lodovico Giaretta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 22 12:47:59 PDT 2016


On Friday, 22 July 2016 at 18:30:13 UTC, Rufus Smith wrote:
> Trying to compile code that uses GDC, had to import phobos 
> files from dmd in to project since they are not in the GDC's 
> phobo lib(the core.sys.windows stuff).
>
> Almost all the errors are related to stuff like
>
> PALETTEENTRY* peNew() return { return _peNew.ptr; }
>
>
> Does that even make sense?

The peculiarity of this code is that it uses DIP 25.
I don't know if GDC supports it, nor if you need some compiler 
switch.
In DMD you need the -dip25 switch.

For more infos on DIP 25: https://wiki.dlang.org/DIP25


More information about the Digitalmars-d-learn mailing list