php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #694 M_PI not defined
Submitted: 1998-08-25 18:30 UTC Modified: 1998-08-27 01:06 UTC
From: jim at jaguNET dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS OS: A/UX and POSIX OSs
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 + 44 = ?
Subscribe to this entry?

 
 [1998-08-25 18:30 UTC] jim at jaguNET dot com
For many OSs which are POSIX (or are compiling PHP3
as POSIX), M_PI is not defined in math.h. In other
sources files that use M_PI, the #ifndef M_PI/#define M_PI
wrapper is used, but not in functions/basic_functions.c,
so the compile will fail. Either the "wrapper" could
be added there or maybe added in a php .h file to
handle "all" cases.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-27 01:06 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 10:01:31 2024 UTC