DMD 2.000 alpha release
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Mon Jun 18 02:15:59 PDT 2007
Walter Bright wrote:
> Deewiant wrote:
>> Should the main function now take some const form of the command line
>> arguments?
>
> Yes.
The documentation (under "Functions") still states:
=====
main() must be declared using one of the following forms:
void main() { ... }
void main(char[][] args) { ... }
int main() { ... }
int main(char[][] args) { ... }
=====
You may want to update that if const and invariant versions of the
parameter are now allowed (and perhaps any variants with the new string
alias in there as well :) ).
More information about the Digitalmars-d-announce
mailing list