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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-27 01:06 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 14:01:34 2025 UTC