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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 + 20 = ?
Subscribe to this entry?

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