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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 21:01:28 2024 UTC