|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #256 conflicting types for `vsnprintf'
Submitted: 1998-04-08 09:22 UTC Modified: 1998-07-02 12:25 UTC
From: jk at stallion dot ee Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Release Candidate 3 OS: Solaris x86 Intel 2.6
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: jk at stallion dot ee
New email:
PHP Version: OS:


 [1998-04-08 09:22 UTC] jk at stallion dot ee
With gcc 2.8.1 when trying to compile while compiling PHP as an Apache 
1.3b5 module, we get an error about conflicting vsnprintf 
declarations. Solaris /usr/include/stdio.h has:

extern int vsnprintf(char *, size_t, const char *, __va_list);

while Apache ap.h has:

API_EXPORT(int) ap_vsnprintf(char *, size_t, const char *, va_list ap);

PHP make does not like this and fails.
And we do believe we have fixed include files on Solaris, not 
the broken system ones.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-02 12:25 UTC] ssb
Where exactly does it fail?  Please send us the exact
error text to


[ssb 1998-07-02]:
I assume this has been fixed in 3.0 release.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 10:05:59 2022 UTC