www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - return statement bug in main()

reply Nick <Nick_member pathlink.com> writes:
This compiles and runs without problem in linux (dmd 0.98):

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

Nick
Aug 12 2004
parent reply h3r3tic <h3r3tic dev.null> writes:
Nick wrote:

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

this issue has already been discussed before: digitalmars.D.bugs/1234
Aug 12 2004
parent Nick <Nick_member pathlink.com> writes:
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: digitalmars.D.bugs/1234

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