To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: USG considered harmful Date: Mon, 01 Aug 94 15:48:14 +0300 From: eliz AT is DOT elta DOT co DOT il To whomever it might concern: Beware of makefiles which define USG!! If you leave this while compiling with DJGPP, you'll get a program with most wierd behavior in everything that involves stdio: innocent calls to fputs() will crash with segment violation, fprintf(stdout, something) will mysteriously print nothing, while printf(same something) will work, etc. I learned this the hard way: I just spent 3 most frustrating hours trying to understand what gives. And not even -Wall switch would give me any warning. I would recommend putting a #warning message in the relevant include files (ctype.h and stdio.h), when both __GO32__ and USG are #defined. I did this at my place. Eli Zaretskii