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

2019-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24318

GitLab Migration User  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |MOVED

--- Comment #16 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/demos/issues/2.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

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

2010-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24318

Jon TURNEY jon.tur...@dronecode.org.uk changed:

   What|Removed |Added

  Attachment #30659|0   |1
is obsolete||

--- Comment #13 from Jon TURNEY jon.tur...@dronecode.org.uk 2010-04-26 
11:52:03 PDT ---
Created an attachment (id=35299)
 View: https://bugs.freedesktop.org/attachment.cgi?id=35299
 Review: https://bugs.freedesktop.org/review?bug=24318attachment=35299

Remove the various definitions of M_PI, except in compiler.h

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2010-04-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24318

--- Comment #14 from Jon TURNEY jon.tur...@dronecode.org.uk 2010-04-26 
11:53:49 PDT ---
(In reply to comment #11)
 Attached a couple of patches with an effort to do this better.

Refreshed patches for git master

 As written, this falls back to explicitly defining M_PI using -D o the 
 compiler
 command line if it can't make math.h define it.  This probably isn't a good
 idea.

Changed this so ./configure will fail with an error if we can't work out how to
get math.h to define M_PI

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev