http://bugs.freedesktop.org/show_bug.cgi?id=24318





--- Comment #6 from Tom Fogal <tfo...@alumni.unh.edu>  2009-10-05 11:12:15 PST 
---
bugzilla-dae...@freedesktop.org writes:
> http://bugs.freedesktop.org/show_bug.cgi?id=24318
> 
> --- Comment #2 from Ian Romanick <i...@freedesktop.org>  2009-10-05
>
> NAK!!!  The only systems where I have seen M_PI not defined is
> MSVC.  On MSVC it is not defined /by default/, but it can be enabled
> by defining _USE_MATH_DEFINES.  It would be much better to define
> _USE_MATH_DEFINES from the build system than pollute the code with
> this cruft.

Not that using _USE_MATH_DEFINES sounds like a bad idea, but I don't
see M_PI mentioned in the n1336 draft.  I'm not sure where I got n1336,
but probably somewhere here:

  http://www.open-std.org/jtc1/sc22/wg14/

Thus, I would argue that *both* this and the build system define should
be used.

-tom


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to