Ansification of X.Org code & other cleanup work (fwd)

Marc Balmer marc at msys.ch
Wed Oct 22 06:48:36 PDT 2008


* Peter Breitenlohner wrote:

[...]

> Subject: Re: Ansification of X.Org code & other cleanup work

[...]

> (1) trivial changes to avoid gcc warnings (certainly not adding const or
> other changes to public APIs).

This has to be done very careful.  Changing code to silence the compiler
can be dangerous, sometimes the warnings actually have a meaning.  Sometime
very subtle...  Making the warning go away could lead to a hidden bug.

Also keep in mind that the code not only runs on one architecture, so
double check on at least a 64bit architecture and little/big endian
machine to make _sure_ you don't introduce or hide a bug.

[...]

> Peter Breitenlohner <peb at mppmu.mpg.de>

Marc Balmer, mbalmer at openbsd.org



More information about the xorg mailing list