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
 [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: Thu Apr 25 20:01:45 2024 UTC