Open rikkimax opened 7 months ago
Fresh install of Visual Studio 2022 and Visual D 1.4.0-rc1, hit new project, x64, DMD+LDC enabled (no dialog options seemed to matter)
Thanks for reporting. dmd 2.100 added this extra check, which is a false positive in this case. I'll rename the function to win_main
.
User from Discord tried to build an example project and it resulted in an error.
https://github.com/dlang/visuald/blob/master/visuald/Templates/ProjectItems/VDProject/main.d#L14
Rename of main function worked.