Hi All,
I tried to compile the same .prg (having some warnings)
using HB_COMPILE() (via hbmk2) and harbour directly, and
the redirected std output contains different EOLs in the two
cases. HB_COMPILE() output confuses standard tools like
'sort' and 'grep'.
Here's the little program I used for testing:
--- hb.prg
PROCEDURE Main( ... )
LOCAL unused1
LOCAL unused2
hb_compile( "harbour", { ... } )
RETURN
---
> harbour -w3 hb.prg > !harbour
--- !harbour
0x0D <warning1> 0x0D 0x0A 0x0D <warning2> 0x0D 0x0A
---
> hb -w3 hb.prg > !hb
--- !hb
0x0D <warning1> 0x0A 0x0D <warning2> 0x0A
---
Notice the odd '0x0A 0x0D' combination.
Is there any way to at least sync HB_COMPILE() and harbour
executable output?
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour