php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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 language-parser.tab.c 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.

Patches

Pull Requests

History

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

thanks

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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 09:01:28 2025 UTC