FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Redirect Harbour warnings to a file
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Redirect Harbour warnings to a file
Posted: Mon Apr 29, 2013 10:35 AM

I found a really easy way to redirect the warnings!

As easy as:

harbour -n -I... myapp 2>warnings.log
@type warnings.log

Please notice that 2 and > have to be together. so this is valid "2> warnings.log" but this will not work: "2 > warnings.log"

We have modified FWH samples\buildh.bat so from now on, warnings will be redirected to warnings.log :-)

viewtopic.php?p=143745#p143745

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion