Bug 8519 – winsamp.d doesn't compile with 2.060

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-08-07T16:17:00Z
Last change time
2015-06-09T05:15:00Z
Assigned to
nobody
Creator
brocolis

Comments

Comment #0 by brocolis — 2012-08-07T16:17:08Z
cd dmd2\samples\d dmd winsamp winsamp.def winsamp.d(47): Error: cannot implicitly convert expression (& WindowProc) of type extern (Windows) int function(void* hWnd, uint message, uint wParam, int lParam) to extern (Windows) int function(void*, uint, uint, int) nothrow It works with dmd2.059.
Comment #1 by bugzilla — 2012-08-07T17:41:34Z
Marking as regression.
Comment #2 by brocolis — 2012-08-18T20:44:32Z
https://github.com/D-Programming-Language/druntime/commit/2886846a92c45d92308756cf4c077ae13f0f8460 Two options 1 - revert the change 2 - modify winsamp.d (and all user code) What do you think?
Comment #3 by aliloko — 2012-09-11T10:45:32Z
Comment #4 by github-bugzilla — 2012-09-11T15:15:19Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/70d482cce57c7692de68a307fe0f256f38ffa6a7 Update samples/winsamp.d Fixing Issue 8519 - winsamp.d doesn't compile with 2.060