[Mesa-dev] [Bug 89342] main/light.c:159:62: error: 'M_PI' undeclared (first use in this function)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 26 11:25:41 PST 2015


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

            Bug ID: 89342
           Summary: main/light.c:159:62: error: 'M_PI' undeclared (first
                    use in this function)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: regression
          Severity: blocker
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org

mesa: 46110c5d56eb7a2d3c69b2d8565c7631541511b1 (master 10.6.0-devel)

MinGW build error

  CC       main/light.lo
main/light.c: In function '_mesa_light':
main/light.c:159:62: error: 'M_PI' undeclared (first use in this function)
       light->_CosCutoff = (GLfloat) (cos(light->SpotCutoff * M_PI / 180.0));
                                                              ^

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


More information about the mesa-dev mailing list