digitalmars.D.learn - betterC main() linkage
- drug (3/3) Mar 07 2020 the specification says that in betterC mode the main function should
the specification says that in betterC mode the main function should have extern(C) linkage. Accidentally I found that dmd does not demand it in contrast to ldc. Is it bug of dmd or the specification can be relaxed?
Mar 07 2020