[Mesa-dev] [Bug 73934] Function roundf undeclared in textparam.c when building with MSVC11

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 22 07:56:26 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73934

--- Comment #1 from Grigori Goronzy <greg at chown.ath.cx> ---
MSVC has bad C99 support. roundf was introduced by C99. You can easily
implement roundf yourself, though. Calling floorf or ceilf according to sign of
the number should do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140122/3215b1d8/attachment.html>


More information about the mesa-dev mailing list