DWT - Can't build release while building debug doesn't raise any problem

Menjanahary R. R. megnany at afaky.com
Sun Jun 16 18:38:22 UTC 2024


Context: Windows 10, DMD64 D Compiler v2.108.1

Running `dub build --build=release` have issue

> ...
> C:\Users\menja\AppData\Local\dub\packages\dwt\~master\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\gdip\native.d(1199,91):        parameter `tabStops` declared as `in` here
> C:\Users\menja\AppData\Local\dub\packages\dwt\~master\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\widgets\Tracker.d(846,5): Error: null dereference in function _D3org7eclipse3swt7widgets7TrackerQi15transparentFuncWPvimlZl
> Error C:\D\dmd2\windows\bin64\dmd.exe failed with exit code 1.

while the bare `dub run` is Ok


More information about the Digitalmars-d-learn mailing list