[cairo] compiler warnings in cairo_wideint.h/c

Keith Packard keithp at keithp.com
Wed Oct 13 09:10:40 PDT 2004

Around 8 o'clock on Oct 13, "Andreas Tobler" wrote:

> /* Type qualifiers on a function return type are
>    normally permitted by the standard but have no
>    effect.
> */

Hmm.  The effect I was trying to induce was to teach the compiler that 
given fixed arguments, these functions always return the same result 
(i.e., they are "pure" functions).  I thought that's what the 'const' 
qualifier on the return value did.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20041013/c551e61f/attachment.pgp

More information about the cairo mailing list