In article <42***************@yahoo.com>,
CBFalconer <cb********@worldnet.att.net> wrote:
#define LOG_TO_FILE 1 /* or 0, or leave undefined */
if (LOG_TO_FILE) {
Small slip there: if you leave LOG_TO_FILE undefined, then in the
if statement, it is going to be treated as an undefined variable
with compiler-dependant results.
I suspect it momentarily slipped your mind that treating
an undefined macro as the value 0 only occurs while evaluating
preprocessing conditional expressions.
--
"Who Leads?" / "The men who must... driven men, compelled men."
"Freak men."
"You're all freaks, sir. But you always have been freaks.
Life is a freak. That's its hope and glory." -- Alfred Bester, TSMD