Wrong module initialization order when building with Dub on Windows?

Vladimir Panteleev thecybershadow.lists at gmail.com
Tue Oct 2 01:57:00 UTC 2018


Ran into this today, don't have time to dig in now but maybe 
someone ran into this too.

Steps to reproduce:

- git clone https://github.com/CyberShadow/ae
- cd ae/demo/inputtiming
- (download/unpack 
https://www.libsdl.org/release/SDL2-2.0.8-win32-x86.zip or 
https://www.libsdl.org/release/SDL2-2.0.8-win32-x64.zip to 
current directory)
- dub

On Windows, I get a range violation (in ae.sys.log) which 
indicates that Runtime.args has length 0, which should never 
happen.

This doesn't happen if I build as usual with rdmd, or on Linux 
(either rdmd or Dub).



More information about the Digitalmars-d-learn mailing list