Bug#959966: gdc -flto doesn't accept void main() signature.

2020-05-11 Thread Iain Buclaw
On 07/05/2020 17:16, Witold Baryluk wrote: > Package: gdc > Version: 4:9.2.1-3.1 > Severity: normal > > Dear Maintainer, > > According to language spec: > > https://dlang.org/spec/function.html#main > > """ > 19.20 main() Function > > For console programs, main() serves as the entry point. It

Bug#959966: gdc -flto doesn't accept void main() signature.

2020-05-07 Thread Witold Baryluk
Package: gdc Version: 4:9.2.1-3.1 Severity: normal Dear Maintainer, According to language spec: https://dlang.org/spec/function.html#main """ 19.20 main() Function For console programs, main() serves as the entry point. It gets called after all the module initializers are run, and after any un