Hi Mindaugas,
I do not remember the date, but we've already had discussion on
exactly the same topic some time ago.
I think #ifdef guarded platform dependent behaviour is the only
solution, that will satisfy both DOS and Linux users.
That was about the reversed nature of std/err in non-Linux
(which is CA-Clipper compatible), and the standard (but
not CA-Clipper compatible) way in Linux.
We settled finally on the current solution, which is
exactly what you say, an #ifdef in the output generator
functions hb_compOutErr() and hb_CompOutStd(), where
DOS/Windows is CA-Clipper compatible, Linux is not.
Previously there was even more confusion
The current problem is that for _some_ messages the
wrong hb_compOut*() function was called for the whole
time.
[ The basic problem IMO is that we don't seem to have
a clear and commonly accepted rule to govern behavior
when it comes to these compiler outputs. ]
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour