I don't know how you build harbour.
By my side, I use these commands :
make 2>&1 |tee -a harbour.logThank you AlainI'm talking about program execution errors, not compilation errors. I do exactly as you wrote. I redirect stderr to a file e.g. ./myprog 2> hb_out.log.
I know that Harbour error handling does this automatically. When a program is compiled by hbmk2 myprog.prg then the runtime error creates the hb_out.log file but when the program is compiled by hbmk2 myproject.hbp the runtime errors do not create the hb_out.log file.
I must say that I don't have this problem, as I use hwgui, and I compil my progs with HwMake (which also handles pure harbour programs), and this tools don't use hbmk2, but harbour and gcc.
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/76715605-373a-8da0-4c3c-1ad8484fde67%40wanadoo.fr.