Created attachment 1303 [details] modified to address type incompatability on line 1503 create_dmd_release.d(1503): Error: function core.sys.posix.sys.stat.chmod (const(char*), ushort) is not callable using argument types (immutable(char)*, uint) Line 1503: setFileAttributes(toStringz(path), am.fileAttributes); The following works: setFileAttributes(toStringz(path), to!ushort(am.fileAttributes)); Whether that's the correct fix or not I'm not sure.
If you change the signature to "const(char)*", does that work? This is not a regression create_dmd_release is a new tool.
https://github.com/D-Programming-Language/installer/pull/33
Commits pushed to master at https://github.com/D-Programming-Language/installer https://github.com/D-Programming-Language/installer/commit/113df7987e2d1b1cb252cd38be677a9b8148c63f fix Issue 11799 - Incompatible argument types in create_dmd_release - use std.file.setAttributes https://github.com/D-Programming-Language/installer/commit/848b0b65e20e1c5e32fb8ba6caeac332084fb981 Merge pull request #33 from MartinNowak/fix11799 [2.065] fix Issue 11799 - Incompatible argument types in create_dmd_release