Salut, On Mon, Aug 10, 2009 at 12:24:47AM +0200, Martin Husemann wrote: > On Sun, Aug 09, 2009 at 09:20:02PM +0000, Christos Zoulas wrote: > > The new style casts are very useful because they show programming intent. > > Yes, new style casts are fine. > > But warning about old style casts in a language that is designed to be C > compatible is plain stupid. Not really; there should be the choice of warning about them where appropriate. If we have C style casts in system header files, the likelyhood of having them included at the time we want to warn about C style casts is quite high. This would then break code compiled with -Werror, which is completely unnecessary and IMO wrong. > Besides, there should be no casts in system headers ;-} That maybe too. Tonnerre
Attachment:
pgprea8tD0TvO.pgp
Description: PGP signature