From: Stas S. <st...@ak...> - 2007-05-31 04:21:17
|
Hi. Hans-Dieter Kosch wrote: > developers who are normally used to printf for debugging may > wonder where their output has gone if we require stderr. How do you mean? If you just replace the debug printfs with fprintf(stderr,...) then I don't think the normal printfs will stop working. I was only proposing to discourage the use of stdout for the debugging output, but its not like it will stop working. Because if you use stderr for debugging, then you never need to redirect the stdout to /dev/null any more. > The redirection > also prevents possible unwanted printf from library functions which we > cannot control by gGui->verbosity but we probably want to see in a debug > build. Are those printf really go to stdout and not stderr? I just doublechecked that the assert(), for instance, prints to stderr. So could you please clarify your considerations? |