directx with d
ElfQT
elf_qt at _deletethis_yahoo.com
Sat Mar 1 11:41:21 PST 2008
Thanks. Issue entered to Tango's Trac, http://www.dsource.org/projects/tango/ticket/955
ElfQT
torhu Wrote:
> torhu wrote:
> > ElfQT wrote:
> >> The difference lies:
> >>
> >> Phobos, \dmd\src\phobos\std\c\windows\windows.d:
> >> alias float FLOAT;
> >>
> >> Tango, D:\D\import\tango\sys\win32\Types.di:
> >> alias double FLOAT;
> >>
> >> (Before you ask, I use type FLOAT - uppercase - because I copy some directx code, which already uses that.)
> >> With directx on win32, the phobos approach is working, Tango FLOAT produces errors.
> >>
> >> Is this intended in Tango? Is there already code requiring FLOAT to be double?
> >
> > This looks like a tango bug, FLOAT is a C float.
> >
> > http://msdn2.microsoft.com/en-us/library/aa383751.aspx
>
> Tango's PFLOAT is wrong too.
More information about the Digitalmars-d
mailing list