Thread overview
return statement bug in main()
Aug 12, 2004
Nick
Aug 12, 2004
h3r3tic
Aug 12, 2004
Nick
August 12, 2004
This compiles and runs without problem in linux (dmd 0.98):

# void main()
# {
#   return 0;
# }

Nick


August 12, 2004
Nick wrote:

> This compiles and runs without problem in linux (dmd 0.98):
> 
> # void main()
> # {
> #   return 0;
> # }
> 

this issue has already been discussed before:
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1234
August 12, 2004
In article <cfge0n$2fp0$2@digitaldaemon.com>, h3r3tic says...
>
>Nick wrote:
>
>> This compiles and runs without problem in linux (dmd 0.98):
>> 
>> # void main()
>> # {
>> #   return 0;
>> # }
>> 
>
>this issue has already been discussed before: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1234

Oh, yeah, that's right. Hmm, I'm starting to see why people dislike this "feature" so much...

Nick