[cairo] Undefined symbol "round" in file test/text-rotate.c
Owen Taylor
otaylor at redhat.com
Mon Aug 22 08:46:04 PDT 2005
On Thu, 2005-08-04 at 13:40 -0700, David Hollenberg wrote:
> I more or less successfully built cairo 0.6.0 on Solaris 9 (without
> glitz backend - don't have Sun OpenGL packages installed yet, which is
> what I think I'm missing). However, in test/text-rotate.c I get the
> following gcc warnings
>
> text-rotate.c: In function `draw':
> text-rotate.c:95: warning: implicit declaration of function `round'
Fixed in CVS:
2005-08-22 Owen Taylor <otaylor at redhat.com>
* test/text-rotate.c (draw): Use floor(0.5+x) rather than
round(), which is C99. (David Hollenberg)
Thanks,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050822/17f4cebf/attachment-0001.pgp
More information about the cairo
mailing list