stderr/stdout.
Ryan C. Gordon
icculus at clutteredmind.org
Mon May 20 03:36:52 EDT 2002
If anyone is really bored, I'd like to start off SMPEG development in a
small way. Find all the printf() and fprintf(std[err/out]) calls and
change them into a macro:
#define SMPEGDBG(x) printf x
printf("This was printed out");
becomes:
SMPEGDBG(("This was printed out"));
(Note the double parentheses.)
This way, we can still have that output in debug builds, but release
builds can #define SMPEGDBG away via the configure script.
Who's bored and wants to do this?
--ryan.
More information about the smpeg
mailing list