Error flabergastation

Mark J Twain via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 2 18:56:46 PDT 2016


winmain.d(40): Error: found 'while' when expecting ';' following 
statement
winmain.d(40): Error: unexpected ( in declarator
winmain.d(40): Error: basic type expected, not &
winmain.d(40): Error: found '&' when expecting ')'
winmain.d(40): Error: found 'msg' when expecting ')'
winmain.d(40): Error: missing { ... } for function literal
winmain.d(40): Error: found ')' when expecting ';' following 
statement
winmain.d(40): Error: found ')' instead of statement
winmain.d(46): Error: unexpected ( in declarator
winmain.d(46): Error: basic type expected, not 10
winmain.d(46): Error: found '10' when expecting ')'
winmain.d(46): Error: no identifier for declarator Sleep(_error_)
winmain.d(46): Error: semicolon expected following function 
declaration
winmain.d(46): Error: declaration expected, not ')'
winmain.d(47): Error: unrecognized declaration

all that for a 10 line app that has a missing semicolon after a 
function call! Sleep has nothing to do with it!



More information about the Digitalmars-d-learn mailing list