errorsysw.prg

errorsysw.prg

Postby MarcoBoschi » Fri Oct 15, 2010 8:59 am

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 )
User avatar
MarcoBoschi
 
Posts: 1065
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: errorsysw.prg

Postby Daniel Garcia-Gil » Sun Oct 17, 2010 8:43 pm

Marco

change /w2 by /w
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests