[Mesa-dev] [Bug 24318] Fix building of GLSL demos which use M_PI when M_PI is not defined by math.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 16 17:57:46 PDT 2010


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

Jon TURNEY <jon.turney at dronecode.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35298|0                           |1
        is obsolete|                            |
  Attachment #35299|0                           |1
        is obsolete|                            |

--- Comment #15 from Jon TURNEY <jon.turney at dronecode.org.uk> 2010-07-16 17:57:46 PDT ---
Created an attachment (id=37144)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37144
 Review: https://bugs.freedesktop.org/review?bug=24318&attachment=37144

Remove the various definitions of M_PI

Updated patch for separate mesa-demos git respository.

The autoconf changes don't seem to be required anymore as the gcc flag -ansi is
no longer used, so M_PI is defined.

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


More information about the mesa-dev mailing list