betterC main() linkage

drug drug2004 at bk.ru
Sat Mar 7 19:52:40 UTC 2020


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?


More information about the Digitalmars-d-learn mailing list