Xref: news2.mv.net comp.os.msdos.djgpp:4717 From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Why doesnt this work! Date: Fri, 07 Jun 1996 11:45:35 -0700 Organization: Alcyone Systems Lines: 18 Message-ID: <31B878CF.61F075C@alcyone.com> References: <4p3uct$h50 AT raffles DOT technet DOT sg> <4p3vv1$ocg AT news DOT cea DOT fr> <31B6438A DOT 4BEC9AE0 AT alcyone DOT com> <31B7FD94 DOT 1CFB AT LSTM DOT Ruhr-UNI-Bochum DOT De> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Thomas Demmer wrote: > Just say gcc -Wall (a little less will do, too, check the docs) and > the compiler will tell you a bunch of things you did wrong. > A brilliant switch for native speakers of PASCAL, like me ;-) Compilers cannot as a matter of principle catch all of these kinds of warnings. After all, the format strings for the printf family can be dynamically built, so at compile-time, under some circumstances, there can be no way for the compiler to know what types of arguments the format string implies. -- Erik Max Francis &tSftDotIotE && http://www.alcyone.com/max && max AT alcyone DOT com San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade Omnia quia sunt, lumina sunt. && Dominion, GIGO, GOOGOL, Omega, Psi, Strategem "Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_