Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!local2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Tue, 21 Jul 2015 01:52:44 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Spurious diagnostic messages References: <874mn5ty3y.fsf@kst-u.example.com> <87egm8qis7.fsf@kst-u.example.com> <87615e4pf3.fsf@gmail.com> Date: Tue, 21 Jul 2015 07:52:44 +0100 Message-ID: <87bnf6knnn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:uLyekokz5Z9P5YF58Vgz+PUMk0E= MIME-Version: 1.0 Content-Type: text/plain Lines: 16 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-tvw7R5+b/3bddZQ3MhTxdkkyBw06w1mmW6EcmDLSgbUgpGwuL6HNBaixF3FwDxI+Rk6NRF95rV5c8rj!CYY6UDJm0HXtszG03seti8BfllLCo1MMIhPcQFbo5FX2Cxr2pDZewmDDOVULSD6yAUwuHg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2013 Xref: csiph.com comp.lang.c:66085 Keith Thompson writes: > Or would the compiler translate > > printf("%?", 42) > > to > > printf("%d", 42) This. > ? Does that imply that it would only work if the format string is a > literal, or at least known at compile time? Yes.