Currently the accepted signatures for the D main are (it also works if you use "pure main"): void main(); int main(); void main(string[] args); int main(string[] args); But why instead isn't the args argument const when present? int main(in string[] args); Bye, bearophile