digitalmars.D.dwt - DWT doesn't compile with dmd 2.87.0
- Patrick Schluter (9/9) Jul 14 2019 DWT doesn't build anymore with the new compiler. Wasn't DWT
- Patrick Schluter (3/7) Jul 14 2019 This is the dub output with version 2.087.0. The thing builds
- Mike Franklin (5/8) Jul 14 2019 It's not a regression; deprecations are a normal progression for
- Jacob Carlborg (4/7) Jul 16 2019 Yes, but that's only for Linux.
- knt.roh (4/4) Jul 16 2019 https://github.com/d-widget-toolkit/dwt/pull/47
- Jacob Carlborg (5/9) Jul 18 2019 Seems he has a different issue. Your PR fixes an error. He's getting
- knt.roh (3/10) Jul 18 2019 A fetched code by dub is old. These warnings have been fixed in
- Jacob Carlborg (5/24) Jul 18 2019 As a workaround you can disable deprecation messages by adding
- Jacob Carlborg (7/26) Jul 18 2019 A new release has been made available:
DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? dwt 1.0.1+swt-3.4.1: building configuration "windows-win32"... C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal gdip\Gdip.d(478,9): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(886,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(906,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\wi gets\IME.d(506,29): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Jul 14 2019
On Sunday, 14 July 2019 at 17:00:53 UTC, Patrick Schluter wrote:DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? [...]This is the dub output with version 2.087.0. The thing builds without problems with dmd 2.080.1
Jul 14 2019
On Sunday, 14 July 2019 at 17:00:53 UTC, Patrick Schluter wrote:DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time?It's not a regression; deprecations are a normal progression for evolving the language. Please just submit a PR to DWT to bring the code up to modern expectations. Mike
Jul 14 2019
On 2019-07-14 19:00, Patrick Schluter wrote:Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time?Yes, but that's only for Linux. -- /Jacob Carlborg
Jul 16 2019
https://github.com/d-widget-toolkit/dwt/pull/47 I have sent this pull request. If this PR is merged and the dub package is updated, then this problem is probably fixed.
Jul 16 2019
On 2019-07-16 15:27, knt.roh wrote:https://github.com/d-widget-toolkit/dwt/pull/47 I have sent this pull request. If this PR is merged and the dub package is updated, then this problem is probably fixed.Seems he has a different issue. Your PR fixes an error. He's getting deprecation messages. -- /Jacob Carlborg
Jul 18 2019
On Thursday, 18 July 2019 at 07:48:22 UTC, Jacob Carlborg wrote:On 2019-07-16 15:27, knt.roh wrote:A fetched code by dub is old. These warnings have been fixed in the current master branch.https://github.com/d-widget-toolkit/dwt/pull/47 I have sent this pull request. If this PR is merged and the dub package is updated, then this problem is probably fixed.Seems he has a different issue. Your PR fixes an error. He's getting deprecation messages.
Jul 18 2019
On 2019-07-14 19:00, Patrick Schluter wrote:DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? dwt 1.0.1+swt-3.4.1: building configuration "windows-win32"... C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal gdip\Gdip.d(478,9): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(886,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(906,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\wi gets\IME.d(506,29): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.As a workaround you can disable deprecation messages by adding "silenceDeprecations" to the "buildRequirements" setting in your Dub file. -- /Jacob Carlborg
Jul 18 2019
On 2019-07-14 19:00, Patrick Schluter wrote:DWT doesn't build anymore with the new compiler. Wasn't DWT supposed to be part of the build job of compiler so that regressions are caught in time? dwt 1.0.1+swt-3.4.1: building configuration "windows-win32"... C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal gdip\Gdip.d(478,9): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(886,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\ole\win32\OleCo trolSite.d(906,43): Error: class `org.eclipse.swt.ole.win32.OleControlSite.OleControlSite` member AddRef is not accessible C:\Users\Patri\AppData\Local\dub\packages\dwt-1.0.1_swt-3.4.1\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\wi gets\IME.d(506,29): Deprecation: The delete keyword has been deprecated. Use object.destroy() (and core.memory.GC.free() if applicable) instead. C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.A new release has been made available: https://github.com/d-widget-toolkit/dwt/releases/tag/v1.0.2%2Bswt-3.4.1 In the future, please report an issue here: https://github.com/d-widget-toolkit/dwt/issues -- /Jacob Carlborg
Jul 18 2019