php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1599 Compile fails because size_t is not defined
Submitted: 1999-06-25 12:52 UTC Modified: 1999-06-27 21:22 UTC
From: cabernethy at studentadvantage dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.9 OS: Irix 6.2
Private report: No CVE-ID: None
 [1999-06-25 12:52 UTC] cabernethy at studentadvantage dot com
When compiling php, I ran into the problem of not having size_t defined in the file 'functions/formatted_print.c' . This source file included <math.h> which needs size_t to be defined. Since size_t is defined in <stdio.h> on this Irix system, I merely switched the order of the include files in 'formatted_print.c' so that stdio.h came before math.h. This fixed the problem and compilation finished without further incident.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-27 21:22 UTC] sas at cvs dot php dot net
Thanks, fixed in CVS
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 15:00:02 2026 UTC