Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



Salut,

On Sun, Aug 09, 2009 at 11:09:18PM +0200, Martin Husemann wrote:
> On Sun, Aug 09, 2009 at 09:29:50PM +0200, Tonnerre LOMBARD wrote:
> > Unfortunately, these are widely used headers. We don't want to break
> > -Wold-style-casts in general.
> 
> Why not?
> 
> It is IMHO a very useless and stupid warning.

Old style casts in C++ are deprecated and should not be used; it is
also a question if they're always going to work right. Additionally,
they are deprecated because they disable some sanity checks etc.

There may be valid reasons not to want to have them.

                                Tonnerre

Attachment: pgpJEJqNsrkSR.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index