* Al Viro <viro@ZenIV.linux.org.uk> wrote:... but reality called in and gcc added printf format checks as a gcc extension and even modifies the code to make it safe when the user gets it "wrong". why? Because vararg is a dangerous concept as specified and strong but meaningful type checking should be enforced across such places. And our goal is to build better software and avoid bugs that can be avoided, not to follow standards where they are _stupid_. sure. I dont actually care that much how it's solved - via extending the concept of varargs or via working it around where it hurts most. What matters is that the current situation is suboptimal. The present "solution" uglifies the code and more ugly code is always more dangerous. But it's even worse: bogus warnings also reduce the psychological threshold to adding stupid casts - if you have to add casts in a printk that looks senseless then why not circumvent _other_ warnings that look senseless? Excessive false positives are actively harmful to software quality because they teach people to ignore warnings. Ingo --
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Greg KH | [patch 00/73] 2.6.23-stable review |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
