When I compile errorsysw.prg
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6703)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
errsysw.prg(377) Warning W0028 Unreachable code
0 error
here the piece of code
363 static function DoBreak()
364
365 BREAK
366
377 return nil
I compile with these parameters
SET HARBOURCMD=/a /es2 /gc0 /m /n /q /w2 /wb-
I modified errorsysw.prg with these simple controls
IF M->cUte_dos <> NIL
cErrorFile := M->cUte_dos + "_error.log"
ELSE
cErrorFile := "error.log"
ENDIF
MemoWrit( cErrorFile, cErrorLog )