March 07, 2020 betterC main() linkage | ||||
---|---|---|---|---|
| ||||
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? |
Copyright © 1999-2021 by the D Language Foundation