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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jim at jaguNET dot com
New email:
PHP Version: OS:

 

 [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: Fri Apr 26 11:01:31 2024 UTC