[Issue 18828] [-betterC] helpless error in object.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 7 18:16:29 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18828

--- Comment #3 from Xavier Bigand <flamaros.xavier at gmail.com> ---
Created attachment 1692
  --> https://issues.dlang.org/attachment.cgi?id=1692&action=edit
source code that produce the error

I don't have any class.

api_entry.d file is generated, so all functions are similar, only
wglChoosePixelFormat and wglDescribePixelFormat are different from others.

The dll_entry.d file could be removed if the -betterC worked.
forward_initialization.d contains some specific code to override the
wglChoosePixelFormat and wglDescribePixelFormat behavior.


The archive also contains the dub file.

I'll try DustMite later, but actually my code is pretty minimal, except for the
generated file, because I need to export all opengl32 symbols to be able to
begin tests (else applications will complains about missing APIs).

--


More information about the Digitalmars-d-bugs mailing list