[cairo] Missing const in cairo API ?

Robert O'Callahan rocallahan at novell.com
Mon Oct 2 21:49:49 PDT 2006


On Tue, 2006-10-03 at 00:08 +0200, Damien Carbonne wrote:
> Robert O'Callahan a écrit :
> > Compilers do not generally assume that "const" data is unchanging, since
> > in most cases the compiler has to assume there are non-const aliases to
> > data passed in as a const parameter.
> >   
> Isn't "strict-alias" compiler option related to this kind of assumption ?

No, not really.

Rob



More information about the cairo mailing list